From 5da015e8573e15b76d431a57bcd5de3690ea0fa2 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 18 Sep 2024 13:34:20 -0400 Subject: [PATCH] fix: add before install step to test base --- test/utils/CustomValidationTestBase.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/utils/CustomValidationTestBase.sol b/test/utils/CustomValidationTestBase.sol index f03ff7033..a0b395798 100644 --- a/test/utils/CustomValidationTestBase.sol +++ b/test/utils/CustomValidationTestBase.sol @@ -27,6 +27,8 @@ abstract contract CustomValidationTestBase is AccountTestBase { account1 = ModularAccount(payable(new ERC1967Proxy{salt: 0}(address(accountImplementation), ""))); + _beforeInstallStep(address(account1)); + if (vm.envOr("SMA_TEST", false)) { vm.prank(address(entryPoint)); // The initializer doesn't work on the SMA