From f4e371572cd9bfbef4ac2c07ca647c0f0d749fc9 Mon Sep 17 00:00:00 2001 From: LHerskind Date: Sat, 2 Sep 2023 13:35:15 +0000 Subject: [PATCH] chore: rebase + minor fix in e2e_account_contracts --- yarn-project/end-to-end/src/e2e_account_contracts.test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/yarn-project/end-to-end/src/e2e_account_contracts.test.ts b/yarn-project/end-to-end/src/e2e_account_contracts.test.ts index 14024c41a571..02a2b78557c0 100644 --- a/yarn-project/end-to-end/src/e2e_account_contracts.test.ts +++ b/yarn-project/end-to-end/src/e2e_account_contracts.test.ts @@ -74,6 +74,10 @@ describe('e2e_account_contracts', () => { itShouldBehaveLikeAnAccountContract((encryptionKey: PrivateKey) => new SingleKeyAccountContract(encryptionKey)); }); + describe('eip single-key account', () => { + itShouldBehaveLikeAnAccountContract((encryptionKey: PrivateKey) => new Eip1271AccountContract(encryptionKey)); + }); + describe('schnorr multi-key account', () => { itShouldBehaveLikeAnAccountContract(() => new SchnorrAccountContract(PrivateKey.random())); }); @@ -81,7 +85,4 @@ describe('e2e_account_contracts', () => { describe('ecdsa stored-key account', () => { itShouldBehaveLikeAnAccountContract(() => new EcdsaAccountContract(PrivateKey.random())); }); - describe('ecdsa stored-key account', () => { - itShouldBehaveLikeAnAccountContract(() => new Eip1271AccountContract(PrivateKey.random())); - }); });