Open BenBktech opened 2 weeks ago
Thanks @BenBktech, for the details and reproduction steps.
This is likely a side-effect of our implementation in hardhat-ledger
. We piggy-backed the rpc mechanism to control UI display in the wrapped ledger provider.
This warning in can safely be ignored, but we shouldn't be warning on doing something that is fully expected (an Ignition deployment).
Thank you for your answer @kanej
Version of Hardhat
2.22.5
What happened?
There is a "hardhat_setLedgerOutputEnabled - Method not supported" message on the "Hardhat node" console when deploying a contract with Hardhat Ignition.
Minimal reproduction steps
Create a new contract
contracts/Bank.sol
Create a new ignition module
ignition/modules/Bank.js
hardhat.config.js
file :package.json
:Launch the Hardhat local node with :
yarn hardhat node
Open a new Terminal and launch :
yarn hardhat ignition deploy .\ignition\modules\Bank.js --network localhost
Come back on the Hardhat local node terminal, there is the following message in red :
hardhat_setLedgerOutputEnabled - Method not supported
Search terms
hardhat, ignition, hardhat_setLedgerOutputEnabled - Method not supported, setLedgerOutputEnabled