We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cec7090 commit f9e4daaCopy full SHA for f9e4daa
packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts
@@ -222,7 +222,9 @@ export class EdrProviderWrapper
222
const genesisState =
223
fork !== undefined
224
? []
225
- : l1GenesisState(l1HardforkFromString(config.hardfork));
+ : l1GenesisState(
226
+ l1HardforkFromString(ethereumsjsHardforkToEdrSpecId(hardforkName))
227
+ );
228
229
const context = await getGlobalEdrContext();
230
const provider = await context.createProvider(
0 commit comments