Skip to content

Commit 659684b

Browse files
committed
Add hardfork histories for opt and arb mainnet/sepolia
1 parent bdd04d3 commit 659684b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

packages/hardhat-core/src/internal/core/config/default-config.ts

+24
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,30 @@ export const defaultHardhatNetworkParams: Omit<
141141
]),
142142
},
143143
],
144+
[
145+
10, // optimism mainnet
146+
{
147+
hardforkHistory: new Map([[HardforkName.SHANGHAI, 0]]),
148+
},
149+
],
150+
[
151+
11155420, // optimism sepolia
152+
{
153+
hardforkHistory: new Map([[HardforkName.SHANGHAI, 0]]),
154+
},
155+
],
156+
[
157+
42161, // arbitrum one
158+
{
159+
hardforkHistory: new Map([[HardforkName.SHANGHAI, 0]]),
160+
},
161+
],
162+
[
163+
421614, // arbitrum sepolia
164+
{
165+
hardforkHistory: new Map([[HardforkName.SHANGHAI, 0]]),
166+
},
167+
],
144168
]),
145169
};
146170

0 commit comments

Comments
 (0)