Skip to content

Commit

Permalink
Update EIP-7620: Disallow referencing by both RETURNCONTRACT and EOFC…
Browse files Browse the repository at this point in the history
…REATE

Merged by EIP-Bot.
  • Loading branch information
pdobacz authored Jul 3, 2024
1 parent ff544c1 commit 4183219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EIPS/eip-7620.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ We extend code section validation rules (as defined in [EIP-3670](./eip-3670.md)
5. `RETURNCONTRACT` the subcontainer pointed to `deploy_container_index` must not contain a `RETURNCONTRACT` instruction
6. It is an error for a container to contain both `RETURNCONTRACT` and either of `RETURN` or `STOP`
7. It is an error for a subcontainer to never be referenced in its parent container
8. `RJUMP`, `RJUMPI` and `RJUMPV` immediate argument value (jump destination relative offset) validation: code section is invalid in case offset points to the byte directly following either `EOFCREATE` or `RETURNCONTRACT` instruction.
8. It is an error for a given subcontainer to be referenced by both `RETURNCONTRACT` and `EOFCREATE`
9. `RJUMP`, `RJUMPI` and `RJUMPV` immediate argument value (jump destination relative offset) validation: code section is invalid in case offset points to the byte directly following either `EOFCREATE` or `RETURNCONTRACT` instruction.

### Data Section Lifecycle

Expand Down

0 comments on commit 4183219

Please sign in to comment.