From 7728efe7433b8521c8b6711610e56c6122440795 Mon Sep 17 00:00:00 2001 From: pdobacz <5735525+pdobacz@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:44:11 +0200 Subject: [PATCH] Clarify that EOFCREATE in static mode (#160) --- spec/eof.md | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/eof.md b/spec/eof.md index 5096b50..737d86c 100644 --- a/spec/eof.md +++ b/spec/eof.md @@ -192,6 +192,7 @@ The following instructions are introduced in EOF code: - set `pc = 0` - `EOFCREATE (0xec)` instruction - 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 - peform (and charge for) memory expansion using `[input_offset, input_size]`