is 0.6.0+commit.26b70077.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.5.0
^ (Relevant source part starts here and spans across multiple lines).
Error: Truffle is currently using solc 0.6.0, but one or more of your contracts specify "pragma solidity ^0.5.0
^ (Relevant source part starts here and spans across multiple lines).
".
Please update your truffle config or pragma statement(s).
(See https://trufflesuite.com/docs/truffle/reference/configuration#compiler-configuration for information on
configuring Truffle to use a specific solc compiler version.)
Compilation failed. See above.
Truffle v5.4.6 (core: 5.4.6)
Node v14.14.0
does anyone know why i have error while compiling? solc version: 0.6.0 and in contracts ^0.5.0
you can use max 0.5.17
Обсуждают сегодня