File tree 2 files changed +3
-1
lines changed
packages/hardhat-core/src/internal/core/providers
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
" hardhat " : patch
3
3
---
4
4
5
- Do not send ` http_setLedgerOutputEnabled ` messages if they reacht the HTTP Provider to prevent unwanted warnings in the local hardhat node logs
5
+ Do not send ` http_setLedgerOutputEnabled ` messages beyond the HTTP Provider to prevent unwanted warnings in the logs of the local hardhat node
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ export class HttpProvider extends EventEmitter implements EIP1193Provider {
86
86
}
87
87
88
88
public async request ( args : RequestArguments ) : Promise < unknown > {
89
+ // This is a temporary fix to an issue with noisy warnings in the logs
90
+ // of a local node (#5406). This will be fixed in the next major release.
89
91
if ( args . method === "hardhat_setLedgerOutputEnabled" ) {
90
92
const error = new ProviderError (
91
93
"hardhat_setLedgerOutputEnabled - Method not supported" ,
You can’t perform that action at this time.
0 commit comments