-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
EIP-4758 Implementation #24389
EIP-4758 Implementation #24389
Conversation
In this draft PR, fork ordering rules require |
Closing in favour of #25871 |
... not :) |
259df37
to
1958991
Compare
1958991
to
ae00914
Compare
instructionSet := newMergeInstructionSet() | ||
instructionSet[SENDALL] = &operation{ | ||
execute: opSendall, | ||
dynamicGas: gasSelfdestructEIP3529, |
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.
I think you forgot to charge constant gas too
dynamicGas: gasSelfdestructEIP3529, | |
constantGas: params.SelfdestructGasEIP150, | |
dynamicGas: gasSelfdestructEIP3529, |
This is an implementation of the "nuclear" option for removing SELFDESTRUCT in a future hardfork:
At block
SendallForkBlock
, the behavior ofSELFDESTRUCT
changes to only send the balance of the originating contract to the target recipient and no longer deletes the originating contract.