Skip to content

Commit

Permalink
fix: dual mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodann committed Nov 24, 2023
1 parent 6d61157 commit e01072b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ export async function createHardhatNetworkProvider(
eip1193Provider = await EdrProviderWrapper.create(
hardhatNetworkProviderConfig
);
} else if (vmModeEnvVar === "ethereumjs") {
} else if (vmModeEnvVar === "ethereumjs" || vmModeEnvVar === "dual") {
// Dual mode will internally use the ethereumjs and EDR adapters
eip1193Provider = new HardhatNetworkProvider(
hardhatNetworkProviderConfig,
logger,
Expand Down

0 comments on commit e01072b

Please sign in to comment.