I have set up some code from GitHub on the local system. It works smoothly as intended. But when I make changes in client-side code (JS SDK) and try restarting the entire docker process. When setting up role permission as follows:
sawtooth identity policy create --key /root/.sawtooth/keys/my_key.priv policy_1 "PERMIT_KEY $(cat /root/.sawtooth/keys/my_key.pub)" --url http://rest-api:8008
the transaction gets timeout and never gets committed.
Original code link:
https://github.com/mansoorop/Vehicle-management-system-VMS-
Changes:
The issue was with intkey processor compatibility, there are 2 possible solutions for this.