From 641229ec6b87ed7db47ef54a810accc4e9b66615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Rodr=C3=ADguez?= Date: Tue, 6 Aug 2024 17:47:03 +0200 Subject: [PATCH] chore: Trim client IVC block sizes to fit e2e test (#7783) Trimmed client IVC block sizes to more closely reflect e2e sizes --- .../arithmetization/mega_arithmetization.hpp | 18 +++++++++--------- .../rollup-lib/src/base/base_rollup_inputs.nr | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/barretenberg/cpp/src/barretenberg/plonk_honk_shared/arithmetization/mega_arithmetization.hpp b/barretenberg/cpp/src/barretenberg/plonk_honk_shared/arithmetization/mega_arithmetization.hpp index 4d084f9fea7..c27a53e8deb 100644 --- a/barretenberg/cpp/src/barretenberg/plonk_honk_shared/arithmetization/mega_arithmetization.hpp +++ b/barretenberg/cpp/src/barretenberg/plonk_honk_shared/arithmetization/mega_arithmetization.hpp @@ -81,16 +81,16 @@ template class MegaArith { struct E2eStructuredBlockSizes : public MegaTraceBlocks { E2eStructuredBlockSizes() { - this->ecc_op = 1 << 10; - this->pub_inputs = 30000; - this->arithmetic = 600000; - this->delta_range = 140000; - this->elliptic = 600000; - this->aux = 1400000; - this->lookup = 460000; - this->busread = 1 << 7; + this->ecc_op = 1 << 9; + this->pub_inputs = 4000; + this->arithmetic = 200000; + this->delta_range = 25000; + this->elliptic = 80000; + this->aux = 100000; + this->lookup = 200000; + this->busread = 10; this->poseidon_external = 30000; - this->poseidon_internal = 170000; + this->poseidon_internal = 150000; } }; diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/base/base_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/base/base_rollup_inputs.nr index 69f5731f02b..70b9cd5438b 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/base/base_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/base/base_rollup_inputs.nr @@ -1417,6 +1417,7 @@ mod tests { next_slot: 0, next_index: 0, }; + builder.pre_existing_public_data[1] = PublicDataTreeLeafPreimage { slot: 1, value: initial_balance,