From b2d62a4a38cd44e61b8435991ae31733a9d8c4f4 Mon Sep 17 00:00:00 2001 From: querolita Date: Mon, 25 Nov 2024 16:47:25 +0100 Subject: [PATCH] fixed typo in rangeCheck16 error message --- src/lib/provable/gadgets/range-check.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/provable/gadgets/range-check.ts b/src/lib/provable/gadgets/range-check.ts index da661c5def..f65c90e4db 100644 --- a/src/lib/provable/gadgets/range-check.ts +++ b/src/lib/provable/gadgets/range-check.ts @@ -332,7 +332,7 @@ function rangeCheck16(x: Field) { if (x.isConstant()) { assert( x.toBigInt() < 1n << 16n, - `rangeCheck16: expected field to fit in 8 bits, got ${x}` + `rangeCheck16: expected field to fit in 16 bits, got ${x}` ); return; }