Skip to content

Commit ecb3665

Browse files
authored
Merge pull request #5664 from NomicFoundation/await-edr-provider-creation
Add await in provider creation
2 parents 466c8da + 409e99f commit ecb3665

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/loud-cooks-obey.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": patch
3+
---
4+
5+
Fixed `debug` logs in Hardhat Network initialization process.

packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ export async function createHardhatNetworkProvider(
628628
log("Making tracing config");
629629
const tracingConfig = await makeTracingConfig(artifacts);
630630
log("Creating EDR provider");
631-
const provider = EdrProviderWrapper.create(
631+
const provider = await EdrProviderWrapper.create(
632632
hardhatNetworkProviderConfig,
633633
loggerConfig,
634634
tracingConfig

0 commit comments

Comments
 (0)