Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion packages/core/solidity/src/account.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test('account API assert defaults', async t => {
t.is(account.print(account.defaults), account.print());
});

for (const signer of [undefined, 'ERC7702', 'ECDSA', 'P256', 'RSA'] as const) {
for (const signer of [false, 'ERC7702', 'ECDSA', 'P256', 'RSA'] as const) {
let title = 'Account';
if (signer) {
title += ` with Signer${signer}`;
Expand Down Expand Up @@ -102,6 +102,18 @@ for (const signer of [undefined, 'ERC7702', 'ECDSA', 'P256', 'RSA'] as const) {
ERC7579Modules: 'AccountERC7579',
});

testAccount(`${title} with ERC7579 with ERC1271`, {
signer,
ERC7579Modules: 'AccountERC7579',
signatureValidation: 'ERC1271',
});

testAccount(`${title} with ERC7579 with ERC7739`, {
signer,
ERC7579Modules: 'AccountERC7579',
signatureValidation: 'ERC7739',
});

testAccount(`${title} with ERC7579 hooks`, {
signer,
ERC7579Modules: 'AccountERC7579Hooked',
Expand Down
Loading
Loading