Skip to content

Commit

Permalink
fix: table kind should not change over the fse code trailing bits (sc…
Browse files Browse the repository at this point in the history
  • Loading branch information
roynalnaruto authored Jun 23, 2024
1 parent 00cd3e0 commit 92fcf47
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aggregator/src/aggregation/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2785,6 +2785,13 @@ impl<const L: usize, const R: usize> DecoderConfig<L, R> {
]),
);

// The FSE table kind remains the same.
cb.require_equal(
"table_kind remains the same for trailing bits in tag=FseCode",
meta.query_advice(config.fse_decoder.table_kind, Rotation::cur()),
meta.query_advice(config.fse_decoder.table_kind, Rotation::prev()),
);

cb.gate(condition)
},
);
Expand Down

0 comments on commit 92fcf47

Please sign in to comment.