Open P1sar opened 3 years ago
Add data-hash commands for erc20 and erc721 CLI domains. cmd should build hash of the proposal data for an erc721/erc20 proposal
Implemented cmds for chaingbvrdige could be check here https://github.com/ChainSafe/chainbridge-deploy/blob/master/cb-sol-cli/cmd/erc20.js#L136 and here https://github.com/ChainSafe/chainbridge-deploy/blob/master/cb-sol-cli/cmd/erc721.js for erc20 and erc721 respectively The main problem is with the providing MPT proof and validators aggregated signature as could be found here https://github.com/ChainSafe/chainbridge-celo/blob/main/chain/writer/proposal_data.go#L51 So before implementing we should deal with these problems somehow...
Test with E2E testing
Tests are pass
Add data-hash commands for erc20 and erc721 CLI domains. cmd should build hash of the proposal data for an erc721/erc20 proposal
Implementation details
Implemented cmds for chaingbvrdige could be check here https://github.com/ChainSafe/chainbridge-deploy/blob/master/cb-sol-cli/cmd/erc20.js#L136 and here https://github.com/ChainSafe/chainbridge-deploy/blob/master/cb-sol-cli/cmd/erc721.js for erc20 and erc721 respectively The main problem is with the providing MPT proof and validators aggregated signature as could be found here https://github.com/ChainSafe/chainbridge-celo/blob/main/chain/writer/proposal_data.go#L51 So before implementing we should deal with these problems somehow...
Testing details
Test with E2E testing
Acceptance Criteria
Tests are pass