trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 676 forks source link

docs: add console.log to all solidity examples in interactive docs #4132

Closed MicaiahReid closed 1 year ago

MicaiahReid commented 1 year ago

All of our RPC methods are documented with examples in our interactive documentation. Some of these examples even have a simple Solidity contract that is precompiled and is deployed as you run the example. This change updates those precompiled Solidity contracts to include an import of Ganache's console.sol package and calls to console.log. When you run an example, go to the Ganache Logs tab and you'll see these Solidity console.log calls being logged! This change impacts the following RPC methods: