From c7b59bee419d14798e5a27036f0559ddff8105c5 Mon Sep 17 00:00:00 2001 From: Lech <88630083+Artemka374@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:03:02 +0200 Subject: [PATCH] Revert "update fix" This reverts commit aa4d47474dea79077cd7d6e8a486548f242150af. --- crates/franklin-crypto/src/plonk/circuit/goldilocks/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/franklin-crypto/src/plonk/circuit/goldilocks/mod.rs b/crates/franklin-crypto/src/plonk/circuit/goldilocks/mod.rs index 9f7c22a..4b0fc90 100644 --- a/crates/franklin-crypto/src/plonk/circuit/goldilocks/mod.rs +++ b/crates/franklin-crypto/src/plonk/circuit/goldilocks/mod.rs @@ -47,8 +47,6 @@ impl Hash for GoldilocksField { } pub fn range_check_for_num_bits>(cs: &mut CS, num: &Num, num_bits: usize) -> Result<(), SynthesisError> { - assert!(num_bits % 16 == 0); - if let Num::Constant(value) = num { for el in value.into_repr().as_ref().iter().skip(1) { assert_eq!(0, *el)