diff --git a/.changeset/loud-cooks-obey.md b/.changeset/loud-cooks-obey.md new file mode 100644 index 0000000000..8e4dc17a8e --- /dev/null +++ b/.changeset/loud-cooks-obey.md @@ -0,0 +1,5 @@ +--- +"hardhat": patch +--- + +Fixed `debug` logs in Hardhat Network initialization process. diff --git a/packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts b/packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts index 90673d763d..18f24aea8a 100644 --- a/packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts +++ b/packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts @@ -628,7 +628,7 @@ export async function createHardhatNetworkProvider( log("Making tracing config"); const tracingConfig = await makeTracingConfig(artifacts); log("Creating EDR provider"); - const provider = EdrProviderWrapper.create( + const provider = await EdrProviderWrapper.create( hardhatNetworkProviderConfig, loggerConfig, tracingConfig