File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ impl JSONEntry {
125
125
// Safety: we check all the outputs are in the correct range and we can construct the input from the outputs of the decomposition
126
126
let (id , parent_index , mid , entry_type ) =
127
127
unsafe { JSONEntry ::__extract_entry_type_id_and_parent_index_from_field (f ) };
128
- id .assert_max_bit_size ::<8 >(); // 1.25
128
+ id .assert_max_bit_size ::<16 >(); // 1.5
129
129
parent_index .assert_max_bit_size ::<16 >(); // 1.5
130
130
entry_type .assert_max_bit_size ::<16 >(); // 1.5
131
131
mid .assert_max_bit_size ::<136 >(); // 5.5
@@ -141,7 +141,7 @@ impl JSONEntry {
141
141
}
142
142
fn extract_entry_type_and_id_from_field (f : Field ) -> (Field , Field ) {
143
143
let (id , mid , entry_type ) = unsafe { JSONEntry ::__extract_entry_type_and_id_from_field (f ) };
144
- id .assert_max_bit_size ::<8 >(); // 1.25
144
+ id .assert_max_bit_size ::<16 >(); // 1.5
145
145
entry_type .assert_max_bit_size ::<16 >(); // 1.5
146
146
mid .assert_max_bit_size ::<136 >(); // 5.5
147
147
assert (id + mid * 0x10000 + entry_type * 0x100000000000000000000000000000000000000 == f );
You can’t perform that action at this time.
0 commit comments