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
First, you guys are doing a fantastic job with ignition. It's far superior to deploy scripts of the past. So thank you for that!
It would be very useful in debugging deployment issues if I can view hardhat's solidity console.log output. An example is trying to do an m.call to set a proxy implementation and not being able to debug why it fails. For example, I can disable parts of the code to make the deployment succeed but I can not see any of the logs I put in place to debug the values of certain fields during m.call. Having console.logging would help a lot in this situation. Thanks!
Search terms
console hardhat logging
The text was updated successfully, but these errors were encountered:
Can confirm, although I don't know what would be the best way to handle this in Ignition's UI. Perhaps a list of "console.log"s at the end of a batch, similar to what the Hardhat node output does at the end of a block.
@mdcoon a sort of workaround is to run the deployment from a script instead of using the ignition deploy task. So for example, instead of doing:
Describe the feature
First, you guys are doing a fantastic job with ignition. It's far superior to deploy scripts of the past. So thank you for that!
It would be very useful in debugging deployment issues if I can view hardhat's solidity console.log output. An example is trying to do an m.call to set a proxy implementation and not being able to debug why it fails. For example, I can disable parts of the code to make the deployment succeed but I can not see any of the logs I put in place to debug the values of certain fields during m.call. Having console.logging would help a lot in this situation. Thanks!
Search terms
console hardhat logging
The text was updated successfully, but these errors were encountered: