From a45e9aa11e51b09e49da814b7e195e9dea513ec7 Mon Sep 17 00:00:00 2001 From: ledwards2225 Date: Thu, 12 Dec 2024 21:59:10 +0000 Subject: [PATCH] use correct size --- .../cpp/src/barretenberg/ultra_honk/decider_proving_key.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/barretenberg/cpp/src/barretenberg/ultra_honk/decider_proving_key.hpp b/barretenberg/cpp/src/barretenberg/ultra_honk/decider_proving_key.hpp index 7e114c40a3f..b96540d13a8 100644 --- a/barretenberg/cpp/src/barretenberg/ultra_honk/decider_proving_key.hpp +++ b/barretenberg/cpp/src/barretenberg/ultra_honk/decider_proving_key.hpp @@ -177,11 +177,7 @@ template class DeciderProvingKey_ { proving_key.polynomials.return_data_read_tags = Polynomial(MAX_DATABUS_SIZE, proving_key.circuit_size); - // TODO(https://github.com/AztecProtocol/barretenberg/issues/1107): Restricting databus_id to - // databus_size leads to failure. - // const size_t databus_size = std::max({ calldata.size(), secondary_calldata.size(), - // return_data.size() }); - proving_key.polynomials.databus_id = Polynomial(proving_key.circuit_size, proving_key.circuit_size); + proving_key.polynomials.databus_id = Polynomial(MAX_DATABUS_SIZE, proving_key.circuit_size); } const size_t max_tables_size = std::min(static_cast(MAX_LOOKUP_TABLES_SIZE), dyadic_circuit_size - 1);