From 9e066567104282791cc8be5e39b6040206ab2cac Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 22 Oct 2016 18:04:45 -0400 Subject: [PATCH] add solidity pragma to demo and test contracts --- demo/app/contracts/simple_storage.sol | 1 + test/contracts/simple_storage.sol | 1 + test/contracts/token.sol | 1 + 3 files changed, 3 insertions(+) diff --git a/demo/app/contracts/simple_storage.sol b/demo/app/contracts/simple_storage.sol index a858d04b..53494ce5 100644 --- a/demo/app/contracts/simple_storage.sol +++ b/demo/app/contracts/simple_storage.sol @@ -1,3 +1,4 @@ +pragma solidity ^0.4.2; contract SimpleStorage { uint public storedData; diff --git a/test/contracts/simple_storage.sol b/test/contracts/simple_storage.sol index 1137a799..46e047eb 100644 --- a/test/contracts/simple_storage.sol +++ b/test/contracts/simple_storage.sol @@ -1,3 +1,4 @@ +pragma solidity ^0.4.2; contract SimpleStorage { uint public storedData; diff --git a/test/contracts/token.sol b/test/contracts/token.sol index db836a66..58d182ad 100644 --- a/test/contracts/token.sol +++ b/test/contracts/token.sol @@ -1,5 +1,6 @@ // https://github.com/nexusdev/erc20/blob/master/contracts/base.sol +pragma solidity ^0.4.2; contract Token { event Transfer(address indexed from, address indexed to, uint value);