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.
npx hardhat test --bail --no-compile test/unit/circuits/transfer-regulator.circom.test.mjs (This is also included in npm run unit-test-circuits
npx hardhat test --bail --no-compile test/kem-dem-regulator.test.mjs (This is also included in npm run test-general-stuff
npm run test-erc20-tokens (To test in real scenario you need to simulate a regulator in start-nightfall with a REGULATOR_URL 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.
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.