From 08e2098dc23faa6d1daf71d968a5a0a35831f17d Mon Sep 17 00:00:00 2001 From: vzotova Date: Wed, 13 Jan 2021 15:25:44 +0300 Subject: [PATCH] Solidity 0.7.5 -> 0.7.6 --- nucypher/blockchain/eth/sol/__conf__.py | 2 +- tests/contracts/contracts/StakingContractsTestSet.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nucypher/blockchain/eth/sol/__conf__.py b/nucypher/blockchain/eth/sol/__conf__.py index 652e8feca..1766f208a 100644 --- a/nucypher/blockchain/eth/sol/__conf__.py +++ b/nucypher/blockchain/eth/sol/__conf__.py @@ -15,4 +15,4 @@ You should have received a copy of the GNU Affero General Public License along with nucypher. If not, see . """ -SOLIDITY_COMPILER_VERSION = 'v0.7.5' +SOLIDITY_COMPILER_VERSION = 'v0.7.6' diff --git a/tests/contracts/contracts/StakingContractsTestSet.sol b/tests/contracts/contracts/StakingContractsTestSet.sol index 3bf0017cc..b6a5b1986 100644 --- a/tests/contracts/contracts/StakingContractsTestSet.sol +++ b/tests/contracts/contracts/StakingContractsTestSet.sol @@ -161,7 +161,7 @@ contract WorkLockForStakingContractMock { compensationValue = msg.value; } - function compensation(address) public returns (uint256) { + function compensation(address) public view returns (uint256) { return compensationValue; }