WeBankBlockchain / WeBASE-Web

区块链中间件平台WeBASE管理平台
Apache License 2.0
49 stars 55 forks source link

合约 IDE 使用 v0.6.10-gm 编译失败 #496

Closed atian15 closed 1 year ago

atian15 commented 1 year ago
// 错误信息如下: 
xxx.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.6.10-develop.2020.9.21+commit.facc8743.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version pragma solidity ^0.6.10; ^----------------------^
// 合约文件开头部分
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.10
atian15 commented 1 year ago

谢谢社区伙伴耐心解决,修改成 0.6.9 版本后可以编译成功。