From f0128a6c96a91a2d3cf5e2d5b5239e03b0f1c570 Mon Sep 17 00:00:00 2001 From: vicnaum Date: Sat, 18 Jan 2025 20:36:53 +0100 Subject: [PATCH] misc: _handleCall changed to pure --- contracts/core/libraries/CallLib.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/core/libraries/CallLib.sol b/contracts/core/libraries/CallLib.sol index 5b2a9c9..a296f78 100644 --- a/contracts/core/libraries/CallLib.sol +++ b/contracts/core/libraries/CallLib.sol @@ -35,7 +35,7 @@ library CallLib { return handledsafecall(target, 0, data); } - function _handleCall(bool callSucceeded, bytes memory returnData) private returns (bytes memory) { + function _handleCall(bool callSucceeded, bytes memory returnData) private pure returns (bytes memory) { if (!callSucceeded) { assembly { // Get the length of the return data, which contains the error message or selector, as the call failed