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

bridge stops working for execution reverted: hash verify failed #15

Open
KarlChristomer opened this issue Jun 9, 2022 · 0 comments · May be fixed by #16
Open

bridge stops working for execution reverted: hash verify failed #15

KarlChristomer opened this issue Jun 9, 2022 · 0 comments · May be fixed by #16
Labels
bug Something isn't working

Comments

@KarlChristomer
Copy link
Collaborator

Describe the bug briefly
Occasionally the output method in ETH contract is not called successfully when launched a transfer from VITE => ETH, which results in the json data in Relay is not matched with the channel data in ETH contract. When this happens, the bridge will not working any longer and every transfer from VITE=> ETH will fail.

Information

  • logs in Relay
at rejected (/home/ubuntu/vitebridge/vite-asset-bridge/relay-viteth/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5) {
    reason: 'cannot estimate gas; transaction may fail or may require manual gas limit',
    code: 'UNPREDICTABLE_GAS_LIMIT',
    error: Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"id\":32809,\"error\":{\"code\":3,\"message\":\"execution reverted: hash verify failed\",\"data\":\"0x08c379a00000000000000000000000000
00000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000126861736820766572696679206661696c65640000000000000000000000000000\"}}\n", error={"code":3,"data":"0x08c379
  • the info_submit file
{"height":"170","logIndex":-1,"txIndex":-1,"inputsIndex":{"0":20}}
  • channel data in ETH contract
result:  {
  channelId: 1,
  inputId: '29',
  inputHash: '0x4c4b5d5edd01e7e6f43f743732ca7f6ed00d5aa1dc7c50e2682b21e940ce28d0',
  outputId: '19',  
  outputHash: '0xc6b5a178d7231dd9f04fa76ca9b6f6aaad64b3cddf9b68199d16df03f641ede3',
  erc20: '0x84AEEa373eF0aCd04f94B15Aa36F4475A0ac6457',
  keeper: '0x682cD15C84e857F4c37562Da4Bee559640fB45E9'
}
@KarlChristomer KarlChristomer added the bug Something isn't working label Jun 9, 2022
@KarlChristomer KarlChristomer linked a pull request Jun 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant