✅Set Soliditiy Compiler Version
Last updated
Last updated
Add the Solidity version you want in foundry.toml
:
If any contract does not follow pragma solidity 0.8.17
then the solc compiler is going to throw error.
In foundry.toml
you can also toggle optimizer on and off:
There are a lot more configurations: