File tree Expand file tree Collapse file tree
barretenberg/cpp/src/barretenberg/aztec
noir-projects/noir-protocol-circuits/crates/types/src
yarn-project/constants/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 233233#define AVM_POSEIDON2_BASE_L2_GAS 360
234234#define AVM_SHA256COMPRESSION_BASE_L2_GAS 12288
235235#define AVM_KECCAKF1600_BASE_L2_GAS 58176
236- #define AVM_ECADD_BASE_L2_GAS 270
236+ #define AVM_ECADD_BASE_L2_GAS 180
237237#define AVM_TORADIXBE_BASE_L2_GAS 24
238238#define AVM_CALLDATACOPY_DYN_L2_GAS 3
239239#define AVM_RETURNDATACOPY_DYN_L2_GAS 3
Original file line number Diff line number Diff line change @@ -1220,7 +1220,7 @@ pub global AVM_DEBUGLOG_BASE_L2_GAS: u32 = 9;
12201220pub global AVM_POSEIDON2_BASE_L2_GAS : u32 = 24 * 15 ; // SLOW_SIM_MUL = 15
12211221pub global AVM_SHA256COMPRESSION_BASE_L2_GAS : u32 = 12288 ;
12221222pub global AVM_KECCAKF1600_BASE_L2_GAS : u32 = 58176 ;
1223- pub global AVM_ECADD_BASE_L2_GAS : u32 = 27 * 10 ; // SLOW_SIM_MUL = 10
1223+ pub global AVM_ECADD_BASE_L2_GAS : u32 = 18 * 10 ; // SLOW_SIM_MUL = 10
12241224pub global AVM_TORADIXBE_BASE_L2_GAS : u32 = 24 ;
12251225
12261226// Dynamic L2 GAS
Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ export const AVM_DEBUGLOG_BASE_L2_GAS = 9;
451451export const AVM_POSEIDON2_BASE_L2_GAS = 360 ;
452452export const AVM_SHA256COMPRESSION_BASE_L2_GAS = 12288 ;
453453export const AVM_KECCAKF1600_BASE_L2_GAS = 58176 ;
454- export const AVM_ECADD_BASE_L2_GAS = 270 ;
454+ export const AVM_ECADD_BASE_L2_GAS = 180 ;
455455export const AVM_TORADIXBE_BASE_L2_GAS = 24 ;
456456export const AVM_CALLDATACOPY_DYN_L2_GAS = 3 ;
457457export const AVM_RETURNDATACOPY_DYN_L2_GAS = 3 ;
@@ -497,6 +497,7 @@ export const GRUMPKIN_ONE_Y = 17631683881184975370165255887551781615748388533673
497497export const DEFAULT_MAX_DEBUG_LOG_MEMORY_READS = 125000 ;
498498export enum DomainSeparator {
499499 NOTE_HASH = 116501019 ,
500+ PARTIAL_NOTE_COMMITMENT = 568912195 ,
500501 SILOED_NOTE_HASH = 3361878420 ,
501502 UNIQUE_NOTE_HASH = 226850429 ,
502503 NOTE_HASH_NONCE = 1721808740 ,
You can’t perform that action at this time.
0 commit comments