From a28d37e583ba8b032f188fcab8b7dcf1450f93a4 Mon Sep 17 00:00:00 2001 From: zemse Date: Sun, 25 Oct 2020 05:05:10 +0530 Subject: [PATCH] Fix function state mutability warning This commit fixes warnings thrown by the solc 0.7.4 compiler: "Warning: Function state mutability can be restricted to pure" --- contracts/mocks/GSNRecipientMock.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mocks/GSNRecipientMock.sol b/contracts/mocks/GSNRecipientMock.sol index 7bb8849db08..e110b8d3043 100644 --- a/contracts/mocks/GSNRecipientMock.sol +++ b/contracts/mocks/GSNRecipientMock.sol @@ -13,7 +13,7 @@ contract GSNRecipientMock is ContextMock, GSNRecipient { function acceptRelayedCall(address, address, bytes calldata, uint256, uint256, uint256, uint256, bytes calldata, uint256) external - view + pure override returns (uint256, bytes memory) {