File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
barretenberg/cpp/src/barretenberg/vm2/common
noir-projects/noir-protocol-circuits/crates/types/src
yarn-project/constants/src Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 165165#define AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH 681
166166#define AVM_NUM_PUBLIC_INPUT_COLUMNS 4
167167#define AVM_PUBLIC_INPUTS_COLUMNS_COMBINED_LENGTH 2724
168- #define AVM_PROOF_LENGTH_IN_FIELDS 4154
169- #define AVM_PUBLIC_COLUMN_MAX_SIZE 1024
170- #define AVM_V2_PUBLIC_INPUTS_FLATTENED_SIZE 1
171168#define AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED 20000
172169#define AVM_V2_VERIFICATION_KEY_LENGTH_IN_FIELDS_PADDED 1000
173170#define AVM_MAX_PROCESSABLE_L2_GAS 6000000
Original file line number Diff line number Diff line change @@ -879,15 +879,14 @@ pub global AVM_NUM_PUBLIC_INPUT_COLUMNS: u32 = 4;
879879pub global AVM_PUBLIC_INPUTS_COLUMNS_COMBINED_LENGTH : u32 =
880880 AVM_NUM_PUBLIC_INPUT_COLUMNS * AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH ;
881881
882- // `AVM_PROOF_LENGTH_IN_FIELDS` must be updated when AVM circuit changes.
882+ // REMARK: This comment will be relevant when we decommission the "padded" constants below and revive the
883+ // non-padded constants: `AVM_V2_PROOF_LENGTH_IN_FIELDS` and `AVM_V2_VERIFICATION_KEY_LENGTH_IN_FIELDS`.
884+ // `AVM_V2_PROOF_LENGTH_IN_FIELDS` must be updated when AVM circuit changes.
883885// To determine latest value, hover `COMPUTED_AVM_PROOF_LENGTH_IN_FIELDS`
884- // in barretenberg/cpp/src/barretenberg/vm/avm/generated /flavor.hpp
886+ // in barretenberg/cpp/src/barretenberg/vm2/constraining /flavor.hpp
885887// This also changes the length of inputs for the public base rollup circuit, so its Prover.toml must be updated.
886888// To do so: run: 'AZTEC_GENERATE_TEST_DATA=1 yarn workspace @aztec/prover-client test orchestrator_public_functions' from yarn-project.
887- pub global AVM_PROOF_LENGTH_IN_FIELDS : u32 = 4154 ;
888- pub global AVM_PUBLIC_COLUMN_MAX_SIZE : u32 = 1024 ;
889889
890- pub global AVM_V2_PUBLIC_INPUTS_FLATTENED_SIZE : u32 = 1 ;
891890// pub global AVM_V2_PROOF_LENGTH_IN_FIELDS: u32 = 5452;
892891// VK is composed of
893892// - circuit size encoded as a fr field element (32 bytes)
Original file line number Diff line number Diff line change @@ -378,9 +378,6 @@ export const AVM_PUBLIC_INPUTS_REVERTED_ROW_IDX = 680;
378378export const AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH = 681 ;
379379export const AVM_NUM_PUBLIC_INPUT_COLUMNS = 4 ;
380380export const AVM_PUBLIC_INPUTS_COLUMNS_COMBINED_LENGTH = 2724 ;
381- export const AVM_PROOF_LENGTH_IN_FIELDS = 4154 ;
382- export const AVM_PUBLIC_COLUMN_MAX_SIZE = 1024 ;
383- export const AVM_V2_PUBLIC_INPUTS_FLATTENED_SIZE = 1 ;
384381export const AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED = 20000 ;
385382export const AVM_V2_VERIFICATION_KEY_LENGTH_IN_FIELDS_PADDED = 1000 ;
386383export const AVM_MAX_PROCESSABLE_L2_GAS = 6000000 ;
@@ -504,6 +501,7 @@ export const PROOF_TYPE_ROLLUP_HONK = 5;
504501export const PROOF_TYPE_ROOT_ROLLUP_HONK = 6 ;
505502export const PROOF_TYPE_PG_FINAL = 8 ;
506503export const PROOF_TYPE_PG_TAIL = 9 ;
504+ export const PROOF_TYPE_CIVC = 10 ;
507505export const TWO_POW_64 = 18446744073709551616n ;
508506export const AVM_WRITTEN_PUBLIC_DATA_SLOTS_TREE_HEIGHT = 6 ;
509507export const AVM_WRITTEN_PUBLIC_DATA_SLOTS_TREE_INITIAL_ROOT =
You can’t perform that action at this time.
0 commit comments