I’m encountering an error while compiling a contract (with version >=0.4.21 <0.7.0) which imports the following contracts.
which both have a solidity version (^0.6.0).
Here is the full contract used.
Here is the error while
Error: Truffle is currently using solc 0.5.16, but one or more of your contracts specify "pragma solidity ^0.6.0"
I have tried the following approach to fix the issue. Is this an issue from truffle or am I missing something here?