From ce03aa0c2b4044411132dbf26a76467999f5596b Mon Sep 17 00:00:00 2001 From: Wagalidoom Date: Tue, 1 Oct 2024 00:33:37 +0200 Subject: [PATCH] fix: test compilation error --- envio/test/Test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/envio/test/Test.ts b/envio/test/Test.ts index ec642f9..dfdb95a 100644 --- a/envio/test/Test.ts +++ b/envio/test/Test.ts @@ -1,5 +1,5 @@ import assert from "assert"; -import { +import { TestHelpers, SBCDepositContract_DepositEvent } from "generated"; @@ -10,7 +10,7 @@ describe("SBCDepositContract contract DepositEvent event tests", () => { const mockDb = MockDb.createMockDb(); // Creating mock for SBCDepositContract contract DepositEvent event - const event = SBCDepositContract.DepositEvent.createMockEvent({/* It mocks event fields with default values. You can overwrite them if you need */}); + const event = SBCDepositContract.DepositEvent.createMockEvent({/* It mocks event fields with default values. You can overwrite them if you need */ }); it("SBCDepositContract_DepositEvent is created correctly", async () => { // Processing the event @@ -26,6 +26,7 @@ describe("SBCDepositContract contract DepositEvent event tests", () => { // Creating the expected entity const expectedSBCDepositContractDepositEvent: SBCDepositContract_DepositEvent = { + chainId: event.chainId, id: `${event.chainId}_${event.block.number}_${event.logIndex}`, pubkey: event.params.pubkey, withdrawal_credentials: event.params.withdrawal_credentials,