Skip to content

Commit 0a29a98

Browse files
committed
fix: fix tests broken due to rebase
1 parent 241f081 commit 0a29a98

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

test/account/ReplaceModule.t.sol

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,7 @@ contract UpgradeModuleTest is AccountTestBase {
8686
});
8787
account1.executeWithAuthorization(
8888
abi.encodeCall(account1.executeBatch, (calls)),
89-
_encodeSignature(
90-
ModuleEntityLib.pack(address(singleSignerValidation), TEST_DEFAULT_VALIDATION_ENTITY_ID),
91-
GLOBAL_VALIDATION,
92-
""
93-
)
89+
_encodeSignature(_signerValidation, GLOBAL_VALIDATION, "")
9490
);
9591

9692
// test installed, test if old module still installed
@@ -185,11 +181,7 @@ contract UpgradeModuleTest is AccountTestBase {
185181
});
186182
account1.executeWithAuthorization(
187183
abi.encodeCall(account1.executeBatch, (calls)),
188-
_encodeSignature(
189-
ModuleEntityLib.pack(address(singleSignerValidation), TEST_DEFAULT_VALIDATION_ENTITY_ID),
190-
GLOBAL_VALIDATION,
191-
""
192-
)
184+
_encodeSignature(_signerValidation, GLOBAL_VALIDATION, "")
193185
);
194186

195187
// Test if old validation still works, expect fail

0 commit comments

Comments
 (0)