From 453fdb729c7cc76cb800a95e9f3772be898fbe01 Mon Sep 17 00:00:00 2001 From: pdobacz <5735525+pdobacz@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:27:03 +0200 Subject: [PATCH] Align EOFCREATE stack args with EXT*CALL --- spec/eof.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/eof.md b/spec/eof.md index dfc1a51..1da1522 100644 --- a/spec/eof.md +++ b/spec/eof.md @@ -227,7 +227,7 @@ The following instructions are introduced in EOF code: - deduct `32000` gas - halt with exceptional failure if the current frame is in `static-mode`. - 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 - perform (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