From 727ede443515c5835d946094b65e5cfb2e4d0168 Mon Sep 17 00:00:00 2001 From: kopy-kat Date: Fri, 23 Feb 2024 13:05:26 +0000 Subject: [PATCH] fix: validation failed constant --- packages/modulekit/src/modules/ERC7579ValidatorMaster.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modulekit/src/modules/ERC7579ValidatorMaster.sol b/packages/modulekit/src/modules/ERC7579ValidatorMaster.sol index 12beceb7..4c4587a5 100644 --- a/packages/modulekit/src/modules/ERC7579ValidatorMaster.sol +++ b/packages/modulekit/src/modules/ERC7579ValidatorMaster.sol @@ -10,7 +10,7 @@ import { ERC7579ModuleBase } from "./ERC7579ModuleBase.sol"; abstract contract ERC7579ValidatorBase is ERC7579ModuleBase { type ValidationData is uint256; - ValidationData internal constant VALIDATION_FAILED = ValidationData.wrap(0); + ValidationData internal constant VALIDATION_FAILED = ValidationData.wrap(1); bytes4 internal constant EIP1271_SUCCESS = 0x1626ba7e; bytes4 internal constant EIP1271_FAILED = 0xFFFFFFFF;