FlashloanUsecases
FlashloanUsecases copied to clipboard
Warning while compiling contracts.
Hello,
When I go to compile contracts/sample/flashloan.sol I get the following warning. How do I solve this error? (I tried using pragma solidity >=0.5.0 <0.6.0;
, However it does not work)
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/utils/Address.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity ^0.5.5; ^---------------------^
What is the current version of your open Zeppelin contract inside package.json..I suspect the issue is thet you are using a newer version of the open Zeppelin contracts
You can also try to change the current compiler version