I`m trying to migrate a solidity smart contract. When trying to migrate with truffle I get:
I had this issue a few times and now know that is related to changing solc compilers versions, at least this is how I fixed it until now, but this time nothing I try works.
What I have tried so far:
- Checking all the smart contracts compiler versions and making sure that they are ^0.6.0.
- In truffle config, if I change solc compiler version to > 0.8.0 I get:
3.UPDATE: just did a little more research and realized I get the same issue with any other contracts in any other project if I use solc versions: 0.6.0 => 0.7.6... If I use any other solc version the that I get successful compilation and migration of contracts, but I want the use of older compiler versions.
Working in VCS:
Truffle v5.4.11 (core: 5.4.11)
Node v16.2.0
Don`t really know what else to try, any suggestions?