Skip to content

Commit 4d0dc69

Browse files
Update EIP-3540: Ensure num_container_sections is correct
Merged by EIP-Bot.
1 parent b813326 commit 4d0dc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EIPS/eip-3540.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ types_section := (inputs, outputs, max_stack_height)+
127127
| num_code_sections | 2 bytes | 0x0001-0x0400 | 16-bit unsigned big-endian integer denoting the number of the code sections |
128128
| code_size | 2 bytes | 0x0001-0xFFFF | 16-bit unsigned big-endian integer denoting the length of the code section content |
129129
| kind_container | 1 byte | 0x03 | kind marker for container size section |
130-
| num_container_sections | 2 bytes | 0x0001-0x00FF | 16-bit unsigned big-endian integer denoting the number of the container sections |
130+
| num_container_sections | 2 bytes | 0x0001-0x0100 | 16-bit unsigned big-endian integer denoting the number of the container sections |
131131
| container_size | 2 bytes | 0x0001-0xFFFF | 16-bit unsigned big-endian integer denoting the length of the container section content |
132132
| kind_data | 1 byte | 0x04 | kind marker for data size section |
133133
| data_size | 2 bytes | 0x0000-0xFFFF | 16-bit unsigned big-endian integer denoting the length of the data section content (*) |

0 commit comments

Comments
 (0)