From d23cd753ce993b9d9542432ef7d71a4019c3f972 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 21 Oct 2017 15:16:11 -0400 Subject: [PATCH] update solc version --- demo/app/contracts/simple_storage.sol | 2 +- package.json | 2 +- test_app/app/contracts/another_storage.sol | 2 +- test_app/app/contracts/ownable.sol | 2 +- test_app/app/contracts/simple_storage.sol | 2 +- test_app/app/contracts/test.sol | 2 +- test_app/app/contracts/token.sol | 2 +- test_app/config/contracts.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/demo/app/contracts/simple_storage.sol b/demo/app/contracts/simple_storage.sol index 955ad8994..9872d7782 100644 --- a/demo/app/contracts/simple_storage.sol +++ b/demo/app/contracts/simple_storage.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.7; +pragma solidity ^0.4.18; contract SimpleStorage { uint public storedData; diff --git a/package.json b/package.json index bd32be53c..17d64be89 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "promptly": "^2.1.0", "serve-static": "^1.11.1", "shelljs": "^0.5.0", - "solc": "0.4.17", + "solc": "0.4.18", "tar": "^3.1.5", "toposort": "^1.0.0", "underscore": "^1.8.3", diff --git a/test_app/app/contracts/another_storage.sol b/test_app/app/contracts/another_storage.sol index 6bad71066..d8e0a1a81 100644 --- a/test_app/app/contracts/another_storage.sol +++ b/test_app/app/contracts/another_storage.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.11; +pragma solidity ^0.4.18; contract AnotherStorage { address public simpleStorageAddress; address simpleStorageAddress2; diff --git a/test_app/app/contracts/ownable.sol b/test_app/app/contracts/ownable.sol index 0e2562c04..097df9951 100644 --- a/test_app/app/contracts/ownable.sol +++ b/test_app/app/contracts/ownable.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.11; +pragma solidity ^0.4.18; /** * @title Ownable diff --git a/test_app/app/contracts/simple_storage.sol b/test_app/app/contracts/simple_storage.sol index 4098c6f07..2682a7e4d 100644 --- a/test_app/app/contracts/simple_storage.sol +++ b/test_app/app/contracts/simple_storage.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.7; +pragma solidity ^0.4.18; import "ownable.sol"; diff --git a/test_app/app/contracts/test.sol b/test_app/app/contracts/test.sol index 20070e0b9..f1523673f 100644 --- a/test_app/app/contracts/test.sol +++ b/test_app/app/contracts/test.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.11; +pragma solidity ^0.4.18; library ZAMyLib { diff --git a/test_app/app/contracts/token.sol b/test_app/app/contracts/token.sol index 98c9bd49c..fc92206a8 100644 --- a/test_app/app/contracts/token.sol +++ b/test_app/app/contracts/token.sol @@ -1,6 +1,6 @@ // https://github.com/nexusdev/erc20/blob/master/contracts/base.sol -pragma solidity ^0.4.2; +pragma solidity ^0.4.18; contract Token { event Transfer(address indexed from, address indexed to, uint value); diff --git a/test_app/config/contracts.json b/test_app/config/contracts.json index d2a7e2b34..d5e24c97e 100644 --- a/test_app/config/contracts.json +++ b/test_app/config/contracts.json @@ -2,7 +2,7 @@ "default": { "versions": { "web3.js": "1.0.0-beta", - "solc": "0.4.17" + "solc": "0.4.18" }, "deployment": { "host": "localhost",