-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch Hardhat to pass tracing config to provider
- Loading branch information
Showing
3 changed files
with
32 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,9 @@ | |
"pnpm": { | ||
"overrides": { | ||
"hardhat>@nomicfoundation/edr": "workspace:*" | ||
}, | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
}, | ||
"private": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/internal/hardhat-network/provider/provider.js b/internal/hardhat-network/provider/provider.js | ||
index a4b921c8a37b7d5967955d0449df3d05dbe725a8..7ff9eac18cb9a587aa6bd13ff69904cb4b610611 100644 | ||
--- a/internal/hardhat-network/provider/provider.js | ||
+++ b/internal/hardhat-network/provider/provider.js | ||
@@ -196,7 +196,7 @@ class EdrProviderWrapper extends events_1.EventEmitter { | ||
printLineFn(message); | ||
} | ||
}, | ||
- }, (event) => { | ||
+ }, tracingConfig ?? {}, (event) => { | ||
eventAdapter.emit("ethEvent", event); | ||
}); | ||
const minimalEthereumJsNode = { |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.