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

The created image is not working as the solc version is not matching with smart contracts from Quorum #6

Open
ghost opened this issue Nov 21, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 21, 2018

I am getting following error while running the quorum maker with image created by quorum-maker-image. I think the issue is, we are installing latest version of solc in file install_baseimage.sh which is 0.5.0 but the smart contracts in Quorum image are of old version. Can you please check if we can install particular solidity version or maybe we can use ubuntu image which is having specific solc version.

Attaching to node1
node1 | {"level":"info","msg":"Node Manager listening on :22004...","time":"2018-11-21T10:02:51Z"}
node1 | {"level":"info","msg":"Deploying Network Manager Contract","time":"2018-11-21T10:02:52Z"}
node1 | exit status 1: NetworkManagerContract.sol:32:44: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodeDetails(uint16 _index) constant public returns (string n, string r,string p,string ip,string e,string id,uint i) {
node1 | ^------^
node1 | NetworkManagerContract.sol:45:39: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodesCounter() public constant returns (uint) {
node1 | ^------^
node1 | NetworkManagerContract.sol:59:45: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodeList(uint16 i) public constant returns (string n, string r,string p,string ip,string e, string id) {
node1 | ^------^
node1 |
node1 | exit status 1: NetworkManagerContract.sol:32:44: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodeDetails(uint16 _index) constant public returns (string n, string r,string p,string ip,string e,string id,uint i) {
node1 | ^------^
node1 | NetworkManagerContract.sol:45:39: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodesCounter() public constant returns (uint) {
node1 | ^------^
node1 | NetworkManagerContract.sol:59:45: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodeList(uint16 i) public constant returns (string n, string r,string p,string ip,string e, string id) {
node1 | ^------^
node1 | NetworkManagerContract.sol:32:44: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodeDetails(uint16 _index) constant public returns (string n, string r,string p,string ip,string e,string id,uint i) {
node1 | ^------^
node1 | NetworkManagerContract.sol:45:39: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodesCounter() public constant returns (uint) {
node1 | ^------^
node1 | NetworkManagerContract.sol:59:45: Error: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
node1 | function getNodeList(uint16 i) public constant returns (string n, string r,string p,string ip,string e, string id) {
node1 | ^------^
node1 |
node1 | panic: runtime error: index out of range

@rjbanner
Copy link
Collaborator

We have updated the contract since the newer docker image builds have pulled the latest version of solc during the build process

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