Skip to content

Commit

Permalink
Align EOFCREATE stack args with EXT*CALL
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobacz committed Aug 27, 2024
1 parent c567307 commit 9f0757c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/eof.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ The following instructions are introduced in EOF code:
- `EOFCREATE (0xec)` instruction
- deduct `32000` gas
- read uint8 operand `initcontainer_index`
- pops `value`, `salt`, `input_offset`, `input_size` from the stack
- pops `salt`, `input_offset`, `input_size`, `value` from the stack
- peform (and charge for) memory expansion using `[input_offset, input_size]`
- load initcode EOF subcontainer at `initcontainer_index` in the container from which `EOFCREATE` is executed
- let `initcontainer` be that EOF container, and `initcontainer_size` its length in bytes
Expand Down

0 comments on commit 9f0757c

Please sign in to comment.