ipsilon / eof

Validation code for the EOF specification
Apache License 2.0
43 stars 19 forks source link

Align EOFCREATE stack args with EXTCALL #156

Open pdobacz opened 2 months ago

pdobacz commented 2 months ago

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.