We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
EVM does not return the error message when using ExitReason::Error https://github.com/rust-blockchain/evm/blob/78c49debfc65ddf3c0635edd02045a937dcc15d5/runtime/src/eval/system.rs#L432-L448
ExitReason::Error
So we should use ExitReason::Revert instead of ExitReason::Error like this:
ExitReason::Revert
Acala/modules/evm/src/runner/state.rs
Line 773 in bb432cb
TODO: ExitReason::Error(_) and ExitError::*.into()
ExitReason::Error(_)
ExitError::*.into()
Line 532 in bb432cb
Line 551 in bb432cb
The text was updated successfully, but these errors were encountered:
zjb0807
Successfully merging a pull request may close this issue.
EVM does not return the error message when using
ExitReason::Error
https://github.com/rust-blockchain/evm/blob/78c49debfc65ddf3c0635edd02045a937dcc15d5/runtime/src/eval/system.rs#L432-L448
So we should use
ExitReason::Revert
instead ofExitReason::Error
like this:Acala/modules/evm/src/runner/state.rs
Line 773 in bb432cb
TODO:
ExitReason::Error(_)
andExitError::*.into()
Acala/modules/evm/src/runner/state.rs
Line 532 in bb432cb
Acala/modules/evm/src/runner/state.rs
Line 551 in bb432cb
The text was updated successfully, but these errors were encountered: