Skip to content

部署 fisco3.0的合约 报错solidity版本太低 #619

@CHMMCH

Description

@CHMMCH

Error: code(10000), message(compiling contract failed, /tmp/BCOSContract-5431821513706773544-Table.sol:2:1: Error: Source file requires different compiler version (current compiler is 0.5.2+commit.9d06749c.mod.Linux.g++ - note that nightly builds are considered to be strictly less than the released version
pragma solidity>=0.6.10 <0.8.20;
^------------------------------^
)

请问如何升级WeCross的solidity编译器或者指定自定义版本路径?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions