You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in #5406, the same error message during contract deployment is shown.
"hardhat_setLedgerOutputEnabled - Method not supported"
Stack trace: hardhat:ignition ProviderError: hardhat_setLedgerOutputEnabled - Method not supported hardhat:ignition at HttpProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/http.ts:92:21) hardhat:ignition at AutomaticSenderProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/accounts.ts:355:34) hardhat:ignition at AutomaticGasProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/gas-providers.ts:135:34) hardhat:ignition at AutomaticGasPriceProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/gas-providers.ts:153:36) hardhat:ignition
Code with workaround: public async request(args: RequestArguments): Promise<unknown> { // This is a temporary fix to an issue with noisy warnings in the logs // of a local node (#5406). This will be fixed in the next major release. if (args.method === "hardhat_setLedgerOutputEnabled") { const error = new ProviderError( "hardhat_setLedgerOutputEnabled - Method not supported", -32004 ); // eslint-disable-next-line @nomicfoundation/hardhat-internal-rules/only-hardhat-error throw error; }
Sorry for the report. Maybe commenting this part of code and rebuild this module could be a good idea, but at the moment i dont know how to do this patch :)
Minimal reproduction steps
Try to install hardhat to Manjaro OS using the default installation guide.
Then try to deploy some contract to local network node using Ingnition module.
Version of Hardhat
2.22.18
What happened?
As in #5406, the same error message during contract deployment is shown.
"hardhat_setLedgerOutputEnabled - Method not supported"
Stack trace:
hardhat:ignition ProviderError: hardhat_setLedgerOutputEnabled - Method not supported hardhat:ignition at HttpProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/http.ts:92:21) hardhat:ignition at AutomaticSenderProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/accounts.ts:355:34) hardhat:ignition at AutomaticGasProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/gas-providers.ts:135:34) hardhat:ignition at AutomaticGasPriceProvider.request (/home/mikhaila/nowork/hardhat/example/node_modules/hardhat/src/internal/core/providers/gas-providers.ts:153:36) hardhat:ignition
Code with workaround:
public async request(args: RequestArguments): Promise<unknown> { // This is a temporary fix to an issue with noisy warnings in the logs // of a local node (#5406). This will be fixed in the next major release. if (args.method === "hardhat_setLedgerOutputEnabled") { const error = new ProviderError( "hardhat_setLedgerOutputEnabled - Method not supported", -32004 ); // eslint-disable-next-line @nomicfoundation/hardhat-internal-rules/only-hardhat-error throw error; }
Sorry for the report. Maybe commenting this part of code and rebuild this module could be a good idea, but at the moment i dont know how to do this patch :)
Minimal reproduction steps
Try to install hardhat to Manjaro OS using the default installation guide.
Then try to deploy some contract to local network node using Ingnition module.
ignition_stub.log
deploy_log.log
Search terms
ignition setLedgerOutputEnabled
The text was updated successfully, but these errors were encountered: