-
Notifications
You must be signed in to change notification settings - Fork 319
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
EIP4758 test cases #1024
base: develop
Are you sure you want to change the base?
EIP4758 test cases #1024
Conversation
you can use lllc or yul in code src |
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.
need to move test to EIPTests
subfolder.
need to upgrade network naming to Merge+4758
index index section can be removed as it is -1 by default
src code can be used in yul or lllc
"gas" : -1, | ||
"value" : -1 | ||
}, | ||
"network" : [">=EIP4758"], |
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.
need to convert to Merge+4758
}, | ||
"expect" : [ | ||
{ | ||
"indexes" : { |
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.
indexes can be removed as it is -1 by default
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : { | ||
"balance" : "1000000000000000000", | ||
"// code" : "PUSH20 095e7baea6a6c7c4c2dfeb977efac326af552d87 SELFDESTRUCT", | ||
"code" : ":raw 0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", |
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.
can use lllc here or yul
Would be good to add tests that check whether execution stops after SENDALL |
SENDALL
with currently-executing contract as the beneficiary returns execution to the calling frame and leaves the contract which executedSENDALL
in the state after the transaction finishes.SENDALL
with non-self beneficiary transfers the balance of the invoking account to the beneficiary, ends execution of the current frame. The account which executedSENDALL
remains in the state after the transaction finishes.