From dd8baa655026575fa9c3be41b703ab9ffe7d29f5 Mon Sep 17 00:00:00 2001 From: David Banks <47112877+dbanks12@users.noreply.github.com> Date: Thu, 16 May 2024 15:31:01 -0400 Subject: [PATCH] Revert "chore: bump maximum nullifier read requests (necessary for e2e tests in AVM)" (#6483) Reverts AztecProtocol/aztec-packages#6462 --- cpp/src/barretenberg/vm/avm_trace/aztec_constants.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/src/barretenberg/vm/avm_trace/aztec_constants.hpp b/cpp/src/barretenberg/vm/avm_trace/aztec_constants.hpp index 4dbf07a92..0a1ad1a01 100644 --- a/cpp/src/barretenberg/vm/avm_trace/aztec_constants.hpp +++ b/cpp/src/barretenberg/vm/avm_trace/aztec_constants.hpp @@ -11,8 +11,8 @@ const size_t MAX_NEW_L2_TO_L1_MSGS_PER_CALL = 2; const size_t MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_CALL = 16; const size_t MAX_PUBLIC_DATA_READS_PER_CALL = 16; const size_t MAX_NOTE_HASH_READ_REQUESTS_PER_CALL = 32; -const size_t MAX_NULLIFIER_READ_REQUESTS_PER_CALL = 32; -const size_t MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_CALL = 32; +const size_t MAX_NULLIFIER_READ_REQUESTS_PER_CALL = 2; +const size_t MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_CALL = 2; const size_t MAX_NULLIFIER_KEY_VALIDATION_REQUESTS_PER_CALL = 16; const size_t MAX_NOTE_ENCRYPTED_LOGS_PER_CALL = 16; const size_t MAX_ENCRYPTED_LOGS_PER_CALL = 4; @@ -25,8 +25,8 @@ const size_t MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_TX = 32; const size_t MAX_PUBLIC_DATA_READS_PER_TX = 32; const size_t MAX_NEW_L2_TO_L1_MSGS_PER_TX = 2; const size_t MAX_NOTE_HASH_READ_REQUESTS_PER_TX = 128; -const size_t MAX_NULLIFIER_READ_REQUESTS_PER_TX = 128; -const size_t MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_TX = 128; +const size_t MAX_NULLIFIER_READ_REQUESTS_PER_TX = 8; +const size_t MAX_NULLIFIER_NON_EXISTENT_READ_REQUESTS_PER_TX = 8; const size_t MAX_NULLIFIER_KEY_VALIDATION_REQUESTS_PER_TX = 64; const size_t MAX_NOTE_ENCRYPTED_LOGS_PER_TX = 64; const size_t MAX_ENCRYPTED_LOGS_PER_TX = 8;