-
Notifications
You must be signed in to change notification settings - Fork 328
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
[action] add EvmTransaction to represent actions that run in EVM #4227
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR can focus on the new evm interface introduction, blobTx could be introduced in another PR
if dest := execution.Contract(); dest != action.EmptyAddress { | ||
contract, err := address.FromString(execution.Contract()) | ||
if err != nil { | ||
return nil, errors.Wrapf(err, "failed to decode contract address %s", dest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new code panic instead of return error, no problem?
Quality Gate passedIssues Measures |
It is hard to see the value of representing Execution as EvmTransaction in this PR. It would be better if we can have some description explain the purpose and plan. |
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #(issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: