From e335c486a5dfb66148b86fbc71c05673c46144ba Mon Sep 17 00:00:00 2001 From: benesjan Date: Wed, 13 Nov 2024 13:05:38 +0000 Subject: [PATCH] fmt fix --- .../end-to-end/src/e2e_fees/account_init.test.ts | 6 +++++- .../end-to-end/src/e2e_token_contract/transfer.test.ts | 9 +++------ .../src/e2e_token_contract/transfer_in_private.test.ts | 6 +----- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/yarn-project/end-to-end/src/e2e_fees/account_init.test.ts b/yarn-project/end-to-end/src/e2e_fees/account_init.test.ts index e30831a31bf..6685ff2f5c2 100644 --- a/yarn-project/end-to-end/src/e2e_fees/account_init.test.ts +++ b/yarn-project/end-to-end/src/e2e_fees/account_init.test.ts @@ -192,7 +192,11 @@ describe('e2e_fees account_init', () => { await expect(t.getGasBalanceFn(aliceAddress)).resolves.toEqual([alicesInitialGas - tx.transactionFee!]); // bob can now use his wallet for sending txs - await bananaCoin.withWallet(bobsWallet).methods.transfer_in_public(bobsAddress, aliceAddress, 0n, 0n).send().wait(); + await bananaCoin + .withWallet(bobsWallet) + .methods.transfer_in_public(bobsAddress, aliceAddress, 0n, 0n) + .send() + .wait(); }); }); }); diff --git a/yarn-project/end-to-end/src/e2e_token_contract/transfer.test.ts b/yarn-project/end-to-end/src/e2e_token_contract/transfer.test.ts index 463d0edc2c7..619f24c3a7d 100644 --- a/yarn-project/end-to-end/src/e2e_token_contract/transfer.test.ts +++ b/yarn-project/end-to-end/src/e2e_token_contract/transfer.test.ts @@ -1,20 +1,17 @@ -import { - AztecAddress, - CompleteAddress -} from '@aztec/aztec.js'; +import { AztecAddress, CompleteAddress } from '@aztec/aztec.js'; import { TokenContract, type Transfer } from '@aztec/noir-contracts.js'; import { TokenContractTest } from './token_contract_test.js'; describe('e2e_token_contract transfer private', () => { const t = new TokenContractTest('transfer_private'); - let { asset, accounts, tokenSim, wallets, badAccount } = t; + let { asset, accounts, tokenSim, wallets } = t; beforeAll(async () => { await t.applyBaseSnapshots(); await t.applyMintSnapshot(); await t.setup(); - ({ asset, accounts, tokenSim, wallets, badAccount } = t); + ({ asset, accounts, tokenSim, wallets } = t); }); afterAll(async () => { diff --git a/yarn-project/end-to-end/src/e2e_token_contract/transfer_in_private.test.ts b/yarn-project/end-to-end/src/e2e_token_contract/transfer_in_private.test.ts index 2e03bdc301e..9834024f24c 100644 --- a/yarn-project/end-to-end/src/e2e_token_contract/transfer_in_private.test.ts +++ b/yarn-project/end-to-end/src/e2e_token_contract/transfer_in_private.test.ts @@ -1,8 +1,4 @@ -import { - Fr, - computeAuthWitMessageHash, - computeInnerAuthWitHashFromAction -} from '@aztec/aztec.js'; +import { Fr, computeAuthWitMessageHash, computeInnerAuthWitHashFromAction } from '@aztec/aztec.js'; import { DUPLICATE_NULLIFIER_ERROR } from '../fixtures/fixtures.js'; import { TokenContractTest } from './token_contract_test.js';