From 37f6f3019558bf9ffa4b38a44b876b4ecaf92163 Mon Sep 17 00:00:00 2001 From: Victorien Gauch <85494462+VGau@users.noreply.github.com> Date: Mon, 26 May 2025 15:13:37 +0200 Subject: [PATCH] fix: set hardfork to prague for hardhar test (#1046) --- contracts/hardhat.config.ts | 2 +- contracts/test/hardhat/rollup/LineaRollup/BlobSubmission.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/hardhat.config.ts b/contracts/hardhat.config.ts index d7f91fb5..0e24d992 100644 --- a/contracts/hardhat.config.ts +++ b/contracts/hardhat.config.ts @@ -82,7 +82,7 @@ const config: HardhatUserConfig = { }, networks: { hardhat: { - hardfork: "cancun", + hardfork: "prague", }, mainnet: { accounts: [process.env.MAINNET_PRIVATE_KEY || EMPTY_HASH], diff --git a/contracts/test/hardhat/rollup/LineaRollup/BlobSubmission.ts b/contracts/test/hardhat/rollup/LineaRollup/BlobSubmission.ts index d26c88a7..6fee43ce 100644 --- a/contracts/test/hardhat/rollup/LineaRollup/BlobSubmission.ts +++ b/contracts/test/hardhat/rollup/LineaRollup/BlobSubmission.ts @@ -573,7 +573,7 @@ describe("Linea Rollup contract: EIP-4844 Blob submission tests", () => { const finalizeCompressedCall = lineaRollup .connect(operator) .finalizeBlocks(blobAggregatedProof1To155.aggregatedProof, TEST_PUBLIC_VERIFIER_INDEX, finalizationData, { - gasLimit: 50000, + gasLimit: 80_000, }); // there is no reason