-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Client Service to enable Regulator for transfers #1373
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only requesting changes so that we can discuss some of the comments and take a look at the test with the SDK.
I could follow more or less the implementation till I got to the circuit part! 🙈 We need to find a place to document this in a simple but comprehensive way.
Once the feature evolves, we should add more test. If possible, I would create new test suites instead of adding more cases to erc-tokens
.
We should test that a 3rd party can open the commitment and access the data as intended. But cannot spend commitments. Etc etc.
Great work indeed!! 💪 It is nice to see others adventuring into the circuits layer. Well done 👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go Regulator, Go!! Thanks for explaining this to me (again) 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one @daveroga!
What does this implement/fix? Explain your changes.
Update in the client to enable regulator for the transfers.
Does this close any currently open issues?
#1372
What commands can I run to test the change?
Start nightfall with
REGULATOR_URL=http://localhost:8080 NF_SERVICES_TO_START=blockchain,client,worker,optimist,deployer ./bin/start-nightfall -g -d
to indicate a regulator url for the client to create transfers enabled for the regulator.npm run unit-test-circuits
npm run test-general-stuff
REGULATOR_URL=http://localhost:8080 NF_SERVICES_TO_START=blockchain,client,deployer,optimist,worker ./bin/start-nightfall -g -d
)Any other comments?
This is part of the regulator feature and the part for the regulator service is simulated now, waiting for the corresponding PR that will be merged in this feature branch and then integrated.