diff --git a/templates/demo/contracts/simple_storage.sol b/templates/demo/contracts/simple_storage.sol index 955ad8994..f38decf87 100644 --- a/templates/demo/contracts/simple_storage.sol +++ b/templates/demo/contracts/simple_storage.sol @@ -1,8 +1,10 @@ -pragma solidity ^0.4.7; +pragma solidity ^0.4.23; + + contract SimpleStorage { uint public storedData; - function SimpleStorage(uint initialValue) public { + constructor(uint initialValue) public { storedData = initialValue; }