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

Add EIP: EOF - EXTCODEADDRESS instruction #9342

Merged
merged 8 commits into from
Feb 24, 2025

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Feb 8, 2025

Add an instruction to EOF that reads code delegation designations from the account without requiring code introspection.

Add an instruction to EOF that reads code delegation designations from
the account without requiring code introspection.
@shemnon shemnon requested a review from eth-bot as a code owner February 8, 2025 18:52
@github-actions github-actions bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-core labels Feb 8, 2025
@eth-bot
Copy link
Collaborator

eth-bot commented Feb 8, 2025

✅ All reviewers have approved.

@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Feb 8, 2025
@github-actions github-actions bot added the w-ci Waiting on CI to pass label Feb 8, 2025
Copy link

The commit 8c86b82 (as a parent of c6b3f75) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Feb 12, 2025
@shemnon shemnon closed this Feb 12, 2025
@shemnon shemnon reopened this Feb 12, 2025

Add an instruction to EOF that reads code delegation designations from an account without requiring code introspection.

## Motivation
Copy link
Contributor

Choose a reason for hiding this comment

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

To me, the motivation skips the case, out of which the entire premise of delegation introspection came about: https://hackmd.io/@otim/H1Q7yCHDyl#Why-is-%E2%80%9Cdelegation-introspection%E2%80%9D-useful . Without EXTCODEADDRESS, when an untrusted 7702 address is called, that call can be frontrun with a SetCode tx making it point to a different, malicious implementation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added two more use cases that I think address this section of the document

shemnon and others added 3 commits February 21, 2025 18:00
Co-authored-by: Andrei Maiboroda <andrei@ethereum.org>
@eth-bot eth-bot enabled auto-merge (squash) February 24, 2025 12:20
Copy link
Collaborator

@eth-bot eth-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@eth-bot eth-bot merged commit 02b5bbf into ethereum:master Feb 24, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants