From 8ace52bea5a47224f4ec91077e2cccd6cdfe37f5 Mon Sep 17 00:00:00 2001 From: karankurbur Date: Sun, 22 Dec 2024 22:12:52 -0800 Subject: [PATCH] add virtual to _validateSignatures --- modules/4337/contracts/Safe4337Module.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/4337/contracts/Safe4337Module.sol b/modules/4337/contracts/Safe4337Module.sol index 2a860db1..edc0c2d6 100644 --- a/modules/4337/contracts/Safe4337Module.sol +++ b/modules/4337/contracts/Safe4337Module.sol @@ -281,7 +281,7 @@ contract Safe4337Module is IAccount, HandlerContext, CompatibilityFallbackHandle * @param userOp User operation struct. * @return validationData An integer indicating the result of the validation. */ - function _validateSignatures(PackedUserOperation calldata userOp) internal view returns (uint256 validationData) { + function _validateSignatures(PackedUserOperation calldata userOp) virtual internal view returns (uint256 validationData) { (bytes memory operationData, uint48 validAfter, uint48 validUntil, bytes calldata signatures) = _getSafeOp(userOp); // The `checkSignatures` function in the Safe contract does not force a fixed size on signature length.