From ac54537b74460c06d7b7b1398cb9cc7a4c08c5be Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Fri, 30 Mar 2018 02:31:08 -0300 Subject: [PATCH] updated to new solidity keywords and linting --- contracts/deploy/DelegatedCall.sol | 4 ++-- contracts/deploy/Instance.sol | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/deploy/DelegatedCall.sol b/contracts/deploy/DelegatedCall.sol index 0526c76..861f751 100644 --- a/contracts/deploy/DelegatedCall.sol +++ b/contracts/deploy/DelegatedCall.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.17; +pragma solidity ^0.4.21; /** @@ -29,7 +29,7 @@ contract DelegatedCall { */ function targetDelegatedCall() internal - constant + view returns(address); } diff --git a/contracts/deploy/Instance.sol b/contracts/deploy/Instance.sol index 96c18d8..6243711 100644 --- a/contracts/deploy/Instance.sol +++ b/contracts/deploy/Instance.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.17; +pragma solidity ^0.4.21; import "./InstanceStorage.sol"; import "./DelegatedCall.sol"; @@ -28,7 +28,7 @@ contract Instance is InstanceStorage, DelegatedCall { */ function targetDelegatedCall() internal - constant + view returns(address) { return kernel;