From b46bf5818d4eaf1253b514e26455f7bcbdfa9c07 Mon Sep 17 00:00:00 2001 From: LHerskind <16536249+LHerskind@users.noreply.github.com> Date: Thu, 20 Mar 2025 14:12:58 +0000 Subject: [PATCH] chore: fix archiver.test.ts --- yarn-project/archiver/src/archiver/archiver.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/yarn-project/archiver/src/archiver/archiver.test.ts b/yarn-project/archiver/src/archiver/archiver.test.ts index 0a97026c8634..50283ddbd848 100644 --- a/yarn-project/archiver/src/archiver/archiver.test.ts +++ b/yarn-project/archiver/src/archiver/archiver.test.ts @@ -1,7 +1,7 @@ import { Blob } from '@aztec/blob-lib'; import type { BlobSinkClientInterface } from '@aztec/blob-sink/client'; import { GENESIS_ARCHIVE_ROOT } from '@aztec/constants'; -import { DefaultL1ContractsConfig, type ViemPublicClient } from '@aztec/ethereum'; +import { DefaultL1ContractsConfig, RollupContract, type ViemPublicClient } from '@aztec/ethereum'; import { EthAddress } from '@aztec/foundation/eth-address'; import { Fr } from '@aztec/foundation/fields'; import { type Logger, createLogger } from '@aztec/foundation/log'; @@ -147,7 +147,9 @@ describe('Archiver', () => { address: rollupAddress.toString(), }; - (archiver as any).rollup = mockRollup; + const wrapper = new RollupContract(publicClient, rollupAddress.toString()); + (wrapper as any).rollup = mockRollup; + (archiver as any).rollup = wrapper; mockInboxRead = mock(); mockInboxEvents = mock();