FISCO-BCOS / bcos-auth

bcos-auth is FISCO BCOS 3.0 permissions control implementation.
Apache License 2.0
3 stars 3 forks source link

Abstract contracts cannot have public constructors #20

Open JangoCCC opened 2 years ago

JangoCCC commented 2 years ago

Abstract contract VoteComputerTemplate has a public constructor, which will lead to compilation error. See this check https://github.com/ethereum/solidity/blob/develop/libsolidity/analysis/TypeChecker.cpp#L2041

kyonRay commented 2 years ago

Hi, @JangoCCC

This Solidity contract was used in 0.6, so we will fix it soon.