Skip to content

Commit 22961b5

Browse files
committed
zip tests
1 parent 1a490e4 commit 22961b5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/core/solidity/src/zip-hardhat.test.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { rimraf } from 'rimraf';
1717
import type { JSZipObject } from 'jszip';
1818
import type JSZip from 'jszip';
1919
import type { GenericOptions } from './build-generic';
20+
import { buildAccount } from './account';
2021

2122
interface Context {
2223
tempFolder: string;
@@ -92,6 +93,18 @@ test.serial('erc1155 basic', async t => {
9293
await runIgnitionTest(c, t, opts);
9394
});
9495

96+
test.serial('account ecdsa', async t => {
97+
const opts: GenericOptions = { kind: 'Account', name: 'My Account', signer: 'ECDSA' };
98+
const c = buildAccount(opts);
99+
await runIgnitionTest(c, t, opts);
100+
});
101+
102+
test.serial('account ecdsa uups', async t => {
103+
const opts: GenericOptions = { kind: 'Account', name: 'My Account', signer: 'ECDSA', upgradeable: 'uups' };
104+
const c = buildAccount(opts);
105+
await runIgnitionTest(c, t, opts); // Account does not use proxies for deployment, until factories are added
106+
});
107+
95108
test.serial('custom basic', async t => {
96109
const opts: GenericOptions = { kind: 'Custom', name: 'My Contract' };
97110
const c = buildCustom(opts);

0 commit comments

Comments
 (0)