We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9227a4 commit 93ef787Copy full SHA for 93ef787
packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts
@@ -619,11 +619,17 @@ export async function createHardhatNetworkProvider(
619
loggerConfig: LoggerConfig,
620
artifacts?: Artifacts
621
): Promise<EIP1193Provider> {
622
- return EdrProviderWrapper.create(
+ log("Making tracing config");
623
+ const tracingConfig = await makeTracingConfig(artifacts);
624
+ log("Creating EDR provider");
625
+ const provider = EdrProviderWrapper.create(
626
hardhatNetworkProviderConfig,
627
loggerConfig,
- await makeTracingConfig(artifacts)
628
+ tracingConfig
629
);
630
+ log("EDR provider created");
631
+
632
+ return provider;
633
}
634
635
async function makeTracingConfig(
0 commit comments