From c32d7862cc3683b5c3af3aab5fa8ebe70fa9ac59 Mon Sep 17 00:00:00 2001 From: petarTxFusion Date: Thu, 5 Dec 2024 15:00:01 +0100 Subject: [PATCH] test: fix tests --- .../src/transaction/transaction.service.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/data-fetcher/src/transaction/transaction.service.spec.ts b/packages/data-fetcher/src/transaction/transaction.service.spec.ts index 3e42f4f51..7ce857a30 100644 --- a/packages/data-fetcher/src/transaction/transaction.service.spec.ts +++ b/packages/data-fetcher/src/transaction/transaction.service.spec.ts @@ -141,8 +141,10 @@ describe("TransactionService", () => { expect(txData.transaction).toEqual({ ...transaction, ...transactionDetails, + isEvmLike: false, l1BatchNumber: blockDetails.l1BatchNumber, receiptStatus: transactionReceipt.status, + to: undefined, }); }); @@ -181,6 +183,8 @@ describe("TransactionService", () => { receiptStatus: 0, error: traceTransactionResult.error, revertReason: traceTransactionResult.revertReason, + isEvmLike: false, + to: undefined, }); }); }); @@ -194,6 +198,8 @@ describe("TransactionService", () => { ...transactionDetails, l1BatchNumber: blockDetails.l1BatchNumber, receiptStatus: 0, + isEvmLike: false, + to: undefined, }); }); });