From 9ecfd78619406c8005781401820618b0a9dbbe4a Mon Sep 17 00:00:00 2001 From: Ryan Goulding Date: Tue, 9 Jan 2024 12:43:32 -0800 Subject: [PATCH] fix: TestProxy.contractMethod() can be pure (#172) Signed-off-by: Ryan Goulding --- tests/devtools-evm-hardhat-test/contracts/TestProxy.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/devtools-evm-hardhat-test/contracts/TestProxy.sol b/tests/devtools-evm-hardhat-test/contracts/TestProxy.sol index 047847340..7910df6c9 100644 --- a/tests/devtools-evm-hardhat-test/contracts/TestProxy.sol +++ b/tests/devtools-evm-hardhat-test/contracts/TestProxy.sol @@ -8,7 +8,7 @@ import { Proxied } from "hardhat-deploy/solc_0.8/proxy/Proxied.sol"; contract TestProxy is Initializable, Proxied { function initialize() public proxied initializer {} - function contractMethod() public view returns (uint256 something) { + function contractMethod() public pure returns (uint256 something) { something = 100; } }