From 00f943115c43372364a0fbfbf034c631f4af2d18 Mon Sep 17 00:00:00 2001 From: kevincheng96 Date: Thu, 26 Sep 2024 18:13:38 -0700 Subject: [PATCH] Add view --- test/lib/GetCallbackDetails.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/GetCallbackDetails.sol b/test/lib/GetCallbackDetails.sol index 7fe3cd6d..e2c2379c 100644 --- a/test/lib/GetCallbackDetails.sol +++ b/test/lib/GetCallbackDetails.sol @@ -5,7 +5,7 @@ import {QuarkWalletMetadata} from "quark-core/src/QuarkWallet.sol"; import {QuarkScript} from "quark-core/src/QuarkScript.sol"; contract GetCallbackDetails is QuarkScript { - function getCallbackAddress() public returns (address) { + function getCallbackAddress() public view returns (address) { bytes32 callbackSlot = QuarkWalletMetadata.CALLBACK_SLOT; address callbackAddress; assembly {