Skip to content

Commit

Permalink
fix: add before install step to test base
Browse files Browse the repository at this point in the history
  • Loading branch information
adamegyed committed Sep 18, 2024
1 parent a77f7cb commit 5da015e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/utils/CustomValidationTestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5da015e

Please sign in to comment.