defi-wonderland / solidity-foundry-boilerplate

⚒️ Start your next Solidity project with Foundry in seconds
MIT License
186 stars 27 forks source link

Use `forge-std/console2.sol` #9

Closed eugenioclrc closed 2 years ago

eugenioclrc commented 2 years ago

Use forge-std/console2.sol instead of forge-std/console.sol In forge-std readme from foundry book they recommend use console2

Note: console2.sol contains patches to console.sol that allows Forge to decode traces for calls to the console, but it is not compatible with Hardhat. Source