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

Implement EXTCODE* changes for pdn-5 #13106

Merged
merged 34 commits into from
Jan 14, 2025
Merged

Implement EXTCODE* changes for pdn-5 #13106

merged 34 commits into from
Jan 14, 2025

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

@somnathb1 somnathb1 changed the title [Do-Not-Merge] Implement EXTCODE* changes for pdn-5 Implement EXTCODE* changes for pdn-5 Jan 9, 2025
@somnathb1 somnathb1 changed the base branch from main to som/eip7685 January 9, 2025 10:16
@somnathb1
Copy link
Contributor Author

This is 5/6 in the chain
Next: #13346

@somnathb1 somnathb1 marked this pull request as ready for review January 13, 2025 10:26
Base automatically changed from som/eip7685 to main January 14, 2025 14:14
@somnathb1 somnathb1 enabled auto-merge (squash) January 14, 2025 15:59
@somnathb1 somnathb1 disabled auto-merge January 14, 2025 17:52
@somnathb1 somnathb1 enabled auto-merge (squash) January 14, 2025 17:52
@somnathb1 somnathb1 merged commit d1d1894 into main Jan 14, 2025
14 checks passed
@somnathb1 somnathb1 deleted the som/7720_extcode branch January 14, 2025 18:23
somnathb1 added a commit that referenced this pull request Jan 15, 2025
somnathb1 added a commit that referenced this pull request Jan 16, 2025
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