Skip to content

Update EIP-7761: clarify how EXTCODETYPE deals with EOF versions #9591

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pdobacz
Copy link
Contributor

@pdobacz pdobacz commented Apr 3, 2025

Currently the EIP spec states that 2 is returned on EOFv1 (starting with 0xef0001) targets, but doesn't commit to returning something else for potential future versions of EOF.

We can fix this two fold:
1/ commit to a particular return value scheme (simplest being return 3 for EOFv2, but there are alternatives discussed on the EthMag thread linked)
2/ (this PR) commit to not ever return anything else than 2 for any version of EOF contract, at least if executed in an EOFv1 code.

@github-actions github-actions bot added c-update Modifies an existing proposal s-draft This EIP is a Draft t-core labels Apr 3, 2025
@eth-bot
Copy link
Collaborator

eth-bot commented Apr 3, 2025

✅ All reviewers have approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-update Modifies an existing proposal s-draft This EIP is a Draft t-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants