Skip to content

Commit

Permalink
Postpone mentions of non-returning functions to EIP-6206
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobacz committed Mar 13, 2024
1 parent 94f9d27 commit edf3dd2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions EIPS/eip-3540.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,13 @@ types_section := (inputs, outputs, max_stack_height)+
|-------------------|----------|---------------|--------------------------------------------------------------------------------------------|
| types_section | variable | n/a | stores code section metadata |
| inputs | 1 byte | 0x00-0x7F | number of stack elements the code section consumes |
| outputs | 1 byte | 0x00-0x80 | number of stack elements the code section returns or 0x80 for non-returning functions |
| outputs | 1 byte | 0x00-0x7F | number of stack elements the code section returns |
| max_stack_height | 2 bytes | 0x0000-0x03FF | maximum number of elements ever placed onto the operand stack by the code section |
| code_section | variable | n/a | arbitrary bytecode |
| container_section | variable | n/a | arbitrary EOF-formatted container |
| data_section | variable | n/a | arbitrary sequence of bytes |

See [EIP-4750](./eip-4750.md) for more information on the type section content.
See [EIP-6206](./eip-6206.md) for more information on non-returning functions.

#### EOF version 1 validation rules

Expand Down

0 comments on commit edf3dd2

Please sign in to comment.