Skip to content

Align EOFCREATE stack args with EXTCALL#156

Merged
pdobacz merged 1 commit intomainfrom
reorder-eofcreate-stack
Apr 8, 2025
Merged

Align EOFCREATE stack args with EXTCALL#156
pdobacz merged 1 commit intomainfrom
reorder-eofcreate-stack

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 force-pushed the reorder-eofcreate-stack branch from 9f0757c to 453fdb7 Compare April 7, 2025 17:33
@pdobacz pdobacz merged commit 0c1716d into main Apr 8, 2025
2 checks passed
@pdobacz pdobacz deleted the reorder-eofcreate-stack branch April 8, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants