From 475ee5fcd05e21dc945b4d29025cfcebbc99c907 Mon Sep 17 00:00:00 2001 From: christn Date: Thu, 17 Oct 2024 15:32:35 +0800 Subject: [PATCH] Set hardforkHistory to cancun from genesis --- hardhat.arbitrum.config.js | 7 +++++++ hardhat.base.config.js | 7 +++++++ hardhat.config.js | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/hardhat.arbitrum.config.js b/hardhat.arbitrum.config.js index fad44d6e..b10809ec 100644 --- a/hardhat.arbitrum.config.js +++ b/hardhat.arbitrum.config.js @@ -9,6 +9,13 @@ module.exports = { forking: { url: process.env.ARBITRUM_ALCHEMY_API, }, + chains: { + 42161: { + hardforkHistory: { + cancun: 0, + }, + }, + }, }, }, } diff --git a/hardhat.base.config.js b/hardhat.base.config.js index 3da78efb..4dbbd5e8 100644 --- a/hardhat.base.config.js +++ b/hardhat.base.config.js @@ -9,6 +9,13 @@ module.exports = { forking: { url: process.env.BASE_ALCHEMY_API, }, + chains: { + 8453: { + hardforkHistory: { + cancun: 0, + }, + }, + }, }, }, } diff --git a/hardhat.config.js b/hardhat.config.js index 0b79d18d..e28bc38c 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -14,6 +14,13 @@ module.exports = { forking: { url: process.env.MAINNET_ALCHEMY_API, }, + chains: { + 1: { + hardforkHistory: { + cancun: 0, + }, + }, + }, }, }, }