You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
Currently the overflow of result in FiveColumnIntegerChip::sub is updated to be a.overflows + (b.overflows + 1) + 1, but this creates the possibility that overflow of result is equal to OVERFLOW_LIMIT, which causes panic in further operations.
Currently the
overflow
of result inFiveColumnIntegerChip::sub
is updated to bea.overflows + (b.overflows + 1) + 1
, but this creates the possibility thatoverflow
of result is equal toOVERFLOW_LIMIT
, which causes panic in further operations.halo2-snark-aggregator/halo2-ecc-circuit-lib/src/five/integer_chip.rs
Lines 652 to 675 in 35c4496
Not sure if it makes sense, but adding a check before
sub
should fix this:The text was updated successfully, but these errors were encountered: