Skip to content

Commit 5a29c70

Browse files
authored
Update EIP-7620: remove obsolete Rationale paragraph
Merged by EIP-Bot.
1 parent e1ec3e7 commit 5a29c70

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

EIPS/eip-7620.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,6 @@ The data section is appended to during contract creation and also its size needs
160160

161161
All of these alternatives either complicated the otherwise simple data structures or took away useful features (like the dynamically sized portion of the data section).
162162

163-
### EOF validation checking initcode-mode
164-
165-
Extra EOF validation rules were considered:
166-
167-
- Each EOF subcontainer must either be referenced by an `EOFCREATE` or a `RETURNCONTRACT` instruction, but never both
168-
- Each EOF subcontainer may either contain `RETURNCONTRACT` or `RETURN` / `STOP` instructions, but never a mix of these two kinds
169-
- A subcontainer referenced by an `EOFCREATE` must never contain a `RETURN` / `STOP` instruction, whereas a subcontainer referenced by a `RETURNCONTRACT` must never contain a `RETURNCONTRACT`
170-
171-
These rules were not adopted to avoid the extra logic and complexity (esp. the last rule causes EOF validation of subcontainers to not be self-contained).
172-
173163
## Backwards Compatibility
174164

175165
This change poses no risk to backwards compatibility, as it is introduced at the same time EIP-3540 is. The new instructions are not introduced for legacy bytecode (code which is not EOF formatted), and the contract creation options do not change for legacy bytecode.

0 commit comments

Comments
 (0)