File tree Expand file tree Collapse file tree 3 files changed +4
-4
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 +4
-4
lines changed Original file line number Diff line number Diff line change 220220#define AVM_L1TOL2MSGEXISTS_BASE_L2_GAS 540
221221#define AVM_GETCONTRACTINSTANCE_BASE_L2_GAS 6108
222222#define AVM_EMITUNENCRYPTEDLOG_BASE_L2_GAS 15
223- #define AVM_SENDL2TOL1MSG_BASE_L2_GAS 418
223+ #define AVM_SENDL2TOL1MSG_BASE_L2_GAS 478
224224#define AVM_CALL_BASE_L2_GAS 9936
225225#define AVM_STATICCALL_BASE_L2_GAS 9936
226226#define AVM_RETURN_BASE_L2_GAS 9
Original file line number Diff line number Diff line change @@ -1136,7 +1136,7 @@ pub global AVM_EMITNULLIFIER_BASE_L2_GAS: u32 = (516 + L2_GAS_DISTRIBUTED_STORAG
11361136pub global AVM_L1TOL2MSGEXISTS_BASE_L2_GAS : u32 = 108 * 5 ; // SLOW_SIM_MUL = 4 (+1 for slow proving)
11371137pub global AVM_GETCONTRACTINSTANCE_BASE_L2_GAS : u32 = 1527 * 4 ; // SLOW_SIM_MUL = 4
11381138pub global AVM_EMITUNENCRYPTEDLOG_BASE_L2_GAS : u32 = 15 ;
1139- pub global AVM_SENDL2TOL1MSG_BASE_L2_GAS : u32 = (9 + L2_GAS_PER_L2_TO_L1_MSG ) * 2 ; // SLOW_SIM_MUL = 2
1139+ pub global AVM_SENDL2TOL1MSG_BASE_L2_GAS : u32 = (39 + L2_GAS_PER_L2_TO_L1_MSG ) * 2 ; // SLOW_SIM_MUL = 2
11401140// See PR https://github.com/AztecProtocol/aztec-packages/pull/15495 on why we need this buffer.
11411141pub global AVM_CALL_BASE_L2_GAS : u32 = 3312 * 3 ; // SLOW_SIM_MUL = 3
11421142pub global AVM_STATICCALL_BASE_L2_GAS : u32 = 3312 * 3 ; // SLOW_SIM_MUL = 3
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ export const AVM_EMITNULLIFIER_BASE_L2_GAS = 30800;
446446export const AVM_L1TOL2MSGEXISTS_BASE_L2_GAS = 540 ;
447447export const AVM_GETCONTRACTINSTANCE_BASE_L2_GAS = 6108 ;
448448export const AVM_EMITUNENCRYPTEDLOG_BASE_L2_GAS = 15 ;
449- export const AVM_SENDL2TOL1MSG_BASE_L2_GAS = 418 ;
449+ export const AVM_SENDL2TOL1MSG_BASE_L2_GAS = 478 ;
450450export const AVM_CALL_BASE_L2_GAS = 9936 ;
451451export const AVM_STATICCALL_BASE_L2_GAS = 9936 ;
452452export const AVM_RETURN_BASE_L2_GAS = 9 ;
@@ -538,4 +538,4 @@ export enum GeneratorIndex {
538538 SECRET_HASH = 20 ,
539539 TX_NULLIFIER = 32 ,
540540 SIGNATURE_PAYLOAD = 34 ,
541- }
541+ }
You can’t perform that action at this time.
0 commit comments