Skip to content
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

[Do-Not-Merge] Implement EXTCODE* changes for pdn-5 #13106

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

somnathb1
Copy link
Contributor

@somnathb1 somnathb1 commented Dec 13, 2024

See ethereum/EIPs#8969
Issue board: #12401

@somnathb1 somnathb1 marked this pull request as draft December 16, 2024 10:00
@somnathb1 somnathb1 changed the title Implement EXTCODE* changes for pdn-5 [Do-Not-Merge] Implement EXTCODE* changes for pdn-5 Dec 16, 2024
@somnathb1 somnathb1 requested a review from yperbasis December 16, 2024 14:21
@yperbasis yperbasis added the pectra The Prague/Electra protocol upgrade label Dec 18, 2024
if err != nil {
return nil, fmt.Errorf("%w: %w", ErrIntraBlockStateFailed, err)
}
if codeSize == types.DelegateDesignationCodeSize {
Copy link
Member

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).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it.

Copy link
Member

@yperbasis yperbasis left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pectra The Prague/Electra protocol upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants