File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
extensions/native/circuit/src/poseidon2 Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -884,7 +884,7 @@ impl<AB: InteractionBuilder, const SBOX_REGISTERS: usize> Air<AB>
884884 . when ( next. multi_observe_row )
885885 . when ( not ( next_multi_observe_specific. is_first ) )
886886 . assert_eq ( next_multi_observe_specific. curr_len , multi_observe_specific. curr_len + end_idx - start_idx) ;
887-
887+
888888 // Boundary conditions
889889 builder
890890 . when ( multi_observe_row)
@@ -896,6 +896,16 @@ impl<AB: InteractionBuilder, const SBOX_REGISTERS: usize> Air<AB>
896896 . when ( is_last)
897897 . assert_eq ( curr_len + ( end_idx - start_idx) , len) ;
898898
899+ builder
900+ . when ( next. multi_observe_row )
901+ . when ( not ( next_multi_observe_specific. is_first ) )
902+ . assert_one ( multi_observe_row) ;
903+
904+ builder
905+ . when ( multi_observe_row)
906+ . when ( not ( is_last) )
907+ . assert_one ( next. multi_observe_row ) ;
908+
899909 // Field consistency
900910 builder
901911 . when ( next. multi_observe_row )
You can’t perform that action at this time.
0 commit comments