From 02b68773531eec81355ee713c0155bf76aa968b6 Mon Sep 17 00:00:00 2001 From: Steven Gu Date: Thu, 7 Sep 2023 11:59:02 +0800 Subject: [PATCH] Fix to `row_number <= NORMALIZED_ROW_LIMIT`. --- prover/src/zkevm/capacity_checker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prover/src/zkevm/capacity_checker.rs b/prover/src/zkevm/capacity_checker.rs index f29f2efeb..d8001d18f 100644 --- a/prover/src/zkevm/capacity_checker.rs +++ b/prover/src/zkevm/capacity_checker.rs @@ -90,7 +90,7 @@ impl RowUsage { Self { row_usage_details, row_number, - is_ok: row_number < NORMALIZED_ROW_LIMIT, + is_ok: row_number <= NORMALIZED_ROW_LIMIT, } } pub fn add(&mut self, other: &RowUsage) {