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

Align EOFCREATE stack args with EXTCALL #156

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pdobacz
Copy link
Member

@pdobacz pdobacz commented Aug 27, 2024

It has been brought to attention in https://ethereum-magicians.org/t/eip-7620-eof-contract-creation-instructions/18625/4 that the stack args of EOFCREATE do not align with CREATE2. This is something good, since args of those opcodes have unintuitively distinct meaning - namely the input buffer.

However we seem to be missing out on an opportunity to align the EOFCREATE stack args with another closely related opcode: EXTCALL. They differ only by a single argument (salt vs target_address) per EIP-7069, so we could aim to make them aligned.

@pdobacz pdobacz requested a review from gumb0 August 27, 2024 11:36
@pdobacz pdobacz mentioned this pull request Sep 9, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant