-
Notifications
You must be signed in to change notification settings - Fork 13
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
BUFFER_OVERRUN Error on mainnet #165
Comments
@end0cr1ne do you have the payload of your tx, or can you describe your interaction with the RPC? |
Looking at this similar issue ethers-io/ethers.js#891, it seems to me that the problem might be here. |
That seems to be limited to: external's bytes data is not right-padded due to a bug reported in ethereum/solidity#3493. The fix shipped with solc 0.5.x. My contract uses 0.8.x |
It seems that there is a evm revert, but we are unable to decode a reason. We will fix "BUFFER_OVERRUN" error. |
@end0cr1ne Can you share the steps to reproduce this issue ? We already had internal discussion and wanted to check whether what I thought is aligned with this issue. |
Reopening, as #171 is not confirmed to solve this issue |
Hi, ABI is attached :) |
You could also use the frontend: Link |
Hey guys, just checking in! Is there anything I can do to help debug this issue? |
The error seems to have changed to: "{"value":{"code":-32603,"data":{"code":3,"message":"execution reverted","data":"0x4e487b710000000000000000000000000000000000000000000000000000000000000011"}}}" |
@end0cr1ne this is the more informative error we are using after #171. It seems to me like a regular revert operation on the engine, as in, something going wrong with your contract, or the engine itself. |
Thanks, @mfornet for all the help, turned out to be a uint being set to a negative value that triggered the revert. |
"[ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32603,"message":"Internal Error - data out-of-bounds (length=15, offset=32, code=BUFFER_OVERRUN, version=abi/5.5.0). Please report a bug at https://github.com/aurora-is-near/aurora-relayer/issues","data":{"host":"relayer002.backend.internal.aurora.dev","cf-ray":"6cfa42a624bf856c-BOM"}}}}'"
The text was updated successfully, but these errors were encountered: