Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when compiling ValidatorSmartContractAllowList.sol with Solc 0.8.10 #20

Open
bgravenorst opened this issue Nov 11, 2021 · 0 comments

Comments

@bgravenorst
Copy link
Contributor

I get the following error when compiling the file:

$ solc --optimize --bin-runtime --evm-version=byzantium -o . ./ValidatorSmartContractAllowList.sol

Warning: Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient.
  --> ValidatorSmartContractAllowList.sol:49:5:
   |
49 |     constructor (address[] memory initialAccounts, address[] memory initialValidators) public {
   |     ^ (Relevant source part starts here and spans across multiple lines).

Deleting public appears to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant