Skip to content

Commit 4712f67

Browse files
authored
chore: fork url, arb sepolia config
1 parent 945d345 commit 4712f67

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

hardhat.config.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ const config: HardhatUserConfig = {
3232
tests: 'tests'
3333
},
3434
networks: {
35+
hardhat: {
36+
forking: process.env.FORK_URL ? {
37+
url: process.env.FORK_URL,
38+
} : undefined,
39+
allowUnlimitedContractSize: true,
40+
blockGasLimit: 120000000, // 120 million gas
41+
gas: 30000000, // 30 million gas per tx
42+
gasPrice: 0,
43+
initialBaseFeePerGas: 0 // Set base fee to 0 for local testing
44+
},
3545
// Define here to easily specify private keys
3646
localhost: {
3747
url: 'http://127.0.0.1:8545',
@@ -49,6 +59,11 @@ const config: HardhatUserConfig = {
4959
url: 'https://rpc.immutable.com',
5060
accounts: []
5161
},
62+
'arb-sepolia': {
63+
url: 'https://sepolia-rollup.arbitrum.io/rpc',
64+
chainId: 421614,
65+
accounts: []
66+
},
5267
},
5368
mocha: {
5469
timeout: process.env.COVERAGE ? 15 * 60 * 1000 : 30 * 1000

0 commit comments

Comments
 (0)