You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: