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 165
165
#define AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH 681
166
166
#define AVM_NUM_PUBLIC_INPUT_COLUMNS 4
167
167
#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
171
168
#define AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED 20000
172
169
#define AVM_V2_VERIFICATION_KEY_LENGTH_IN_FIELDS_PADDED 1000
173
170
#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;
879
879
pub global AVM_PUBLIC_INPUTS_COLUMNS_COMBINED_LENGTH : u32 =
880
880
AVM_NUM_PUBLIC_INPUT_COLUMNS * AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH ;
881
881
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.
883
885
// 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
885
887
// This also changes the length of inputs for the public base rollup circuit, so its Prover.toml must be updated.
886
888
// 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 ;
889
889
890
- pub global AVM_V2_PUBLIC_INPUTS_FLATTENED_SIZE : u32 = 1 ;
891
890
// pub global AVM_V2_PROOF_LENGTH_IN_FIELDS: u32 = 5452;
892
891
// VK is composed of
893
892
// - 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;
378
378
export const AVM_PUBLIC_INPUTS_COLUMNS_MAX_LENGTH = 681 ;
379
379
export const AVM_NUM_PUBLIC_INPUT_COLUMNS = 4 ;
380
380
export 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 ;
384
381
export const AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED = 20000 ;
385
382
export const AVM_V2_VERIFICATION_KEY_LENGTH_IN_FIELDS_PADDED = 1000 ;
386
383
export const AVM_MAX_PROCESSABLE_L2_GAS = 6000000 ;
@@ -504,6 +501,7 @@ export const PROOF_TYPE_ROLLUP_HONK = 5;
504
501
export const PROOF_TYPE_ROOT_ROLLUP_HONK = 6 ;
505
502
export const PROOF_TYPE_PG_FINAL = 8 ;
506
503
export const PROOF_TYPE_PG_TAIL = 9 ;
504
+ export const PROOF_TYPE_CIVC = 10 ;
507
505
export const TWO_POW_64 = 18446744073709551616n ;
508
506
export const AVM_WRITTEN_PUBLIC_DATA_SLOTS_TREE_HEIGHT = 6 ;
509
507
export const AVM_WRITTEN_PUBLIC_DATA_SLOTS_TREE_INITIAL_ROOT =
You can’t perform that action at this time.
0 commit comments