Skip to content
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

Error: web3 RPC failed: {"code":-32000,"message":"execution reverted"} when deploying Foreign Bridge #655

Open
schobo opened this issue Apr 19, 2022 · 2 comments

Comments

@schobo
Copy link

schobo commented Apr 19, 2022

Hi
I am deploying Tokenbridge contracts with ERC_TO_NATIVE mode from ropsten (Foreign) to my private blockchain (Home) but got this error. Deploying HomeBridge is successful but ForeignBridge always got this error.

Error: web3 RPC failed: {"code":-32000,"message":"execution reverted"}
at sendNodeRequest (/opt/tokenbridge/contracts/deploy/src/deploymentUtils.js:161:9)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async sendRawTx (/opt/tokenbridge/contracts/deploy/src/deploymentUtils.js:102:36)
at async initializeBridge (/opt/tokenbridge/contracts/deploy/src/erc_to_native/foreign.js:72:30)
at async deployForeign (/opt/tokenbridge/contracts/deploy/src/erc_to_native/foreign.js:176:3)
at async deployErcToNative (/opt/tokenbridge/contracts/deploy/deploy.js:20:29)
at async main (/opt/tokenbridge/contracts/deploy/deploy.js:87:7)
Error: TypeError: Cannot read property 'status' of undefined
at initializeBridge (/opt/tokenbridge/contracts/deploy/src/erc_to_native/foreign.js:79:26)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async deployForeign (/opt/tokenbridge/contracts/deploy/src/erc_to_native/foreign.js:176:3)
at async deployErcToNative (/opt/tokenbridge/contracts/deploy/deploy.js:20:29)
at async main (/opt/tokenbridge/contracts/deploy/deploy.js:87:7)
I searched on google but I can't find anything relate to this error. Could you please help? If you need any other information please let me know.

Thank you.

@eightbox
Copy link

eightbox commented Jan 9, 2023

Hello,
I have same a problem, How to fix?

@NicoDFS
Copy link

NicoDFS commented Jun 26, 2023

The fork seems to fix the issues https://github.com/yenchihliao/tokenbridge-contracts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants