diff --git a/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr b/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr index 429afe14aec6..51748193cdfb 100644 --- a/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr +++ b/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr @@ -1091,7 +1091,7 @@ pub global AVM_ADDRESSING_RELATIVE_L2_GAS: u32 = 3; // One range check // Base L2 GAS // Based on simulation time metrics -pub global L2_GAS_PER_NOTE_HASH: u32 = 2700; +pub global L2_GAS_PER_NOTE_HASH: u32 = 9200; // Bounded by long term storage requirements. pub global L2_GAS_PER_NULLIFIER: u32 = 16000; pub global L2_GAS_PER_L2_TO_L1_MSG: u32 = 5200; pub global L2_GAS_PER_PRIVATE_LOG: u32 = 2500; diff --git a/yarn-project/aztec/src/mainnet_compatibility.test.ts b/yarn-project/aztec/src/mainnet_compatibility.test.ts index 5dde99fdd902..d05246bea08c 100644 --- a/yarn-project/aztec/src/mainnet_compatibility.test.ts +++ b/yarn-project/aztec/src/mainnet_compatibility.test.ts @@ -9,7 +9,7 @@ import { getGenesisValues } from '@aztec/world-state/testing'; */ describe('Mainnet compatibility', () => { it('has expected VK tree root', () => { - const expectedRoots = [Fr.fromHexString('0x1621e3d2e4f04a6f0318b2099cb1e0afd60261055402e2f3c9ceee28849fb014')]; + const expectedRoots = [Fr.fromHexString('0x2d0b15497929f5150c4c383993555456e60d27121f4ac2cb9ef880319f5f9a6f')]; expect(expectedRoots).toContainEqual(getVKTreeRoot()); }); it('has expected Protocol Contracts tree root', () => { diff --git a/yarn-project/aztec/src/testnet_compatibility.test.ts b/yarn-project/aztec/src/testnet_compatibility.test.ts index 6f339176e77c..5514289a570c 100644 --- a/yarn-project/aztec/src/testnet_compatibility.test.ts +++ b/yarn-project/aztec/src/testnet_compatibility.test.ts @@ -11,7 +11,7 @@ import { getGenesisValues } from '@aztec/world-state/testing'; */ describe('Testnet compatibility', () => { it('has expected VK tree root', () => { - const expectedRoots = [Fr.fromHexString('0x1621e3d2e4f04a6f0318b2099cb1e0afd60261055402e2f3c9ceee28849fb014')]; + const expectedRoots = [Fr.fromHexString('0x2d0b15497929f5150c4c383993555456e60d27121f4ac2cb9ef880319f5f9a6f')]; expect(expectedRoots).toContainEqual(getVKTreeRoot()); }); it('has expected Protocol Contracts hash', () => { diff --git a/yarn-project/constants/src/constants.gen.ts b/yarn-project/constants/src/constants.gen.ts index 99ea3d02afff..6d63cc576b67 100644 --- a/yarn-project/constants/src/constants.gen.ts +++ b/yarn-project/constants/src/constants.gen.ts @@ -410,7 +410,7 @@ export const AVM_MAX_REGISTERS = 6; export const AVM_ADDRESSING_BASE_RESOLUTION_L2_GAS = 3; export const AVM_ADDRESSING_INDIRECT_L2_GAS = 3; export const AVM_ADDRESSING_RELATIVE_L2_GAS = 3; -export const L2_GAS_PER_NOTE_HASH = 2700; +export const L2_GAS_PER_NOTE_HASH = 9200; export const L2_GAS_PER_NULLIFIER = 16000; export const L2_GAS_PER_L2_TO_L1_MSG = 5200; export const L2_GAS_PER_PRIVATE_LOG = 2500;