-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement EXTCODE* changes for pdn-5 #13106
base: som/eip7685
Are you sure you want to change the base?
Conversation
if err != nil { | ||
return nil, fmt.Errorf("%w: %w", ErrIntraBlockStateFailed, err) | ||
} | ||
if codeSize == types.DelegateDesignationCodeSize { |
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.
The size check is not enough. The prefix of the code should be checked as well (see ParseDelegation
).
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.
Got it.
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.
EXTCODECOPY should be changed as well
58f6b70
to
8d861e0
Compare
This is 5/6 in the chain |
See ethereum/EIPs#8969
Issue board: #12401