diff --git a/yarn-project/archiver/src/archiver/archiver.test.ts b/yarn-project/archiver/src/archiver/archiver.test.ts index ac98fb362af..e3742e82705 100644 --- a/yarn-project/archiver/src/archiver/archiver.test.ts +++ b/yarn-project/archiver/src/archiver/archiver.test.ts @@ -81,7 +81,7 @@ function makeL2BlockProcessedEvent(l1BlockNum: bigint, l2BlockNum: bigint) { blockNumber: l1BlockNum, args: { blockNum: l2BlockNum }, transactionHash: `0x${l2BlockNum}`, - } as unknown as Log; + } as Log; } /** @@ -95,11 +95,11 @@ function makeUnverifiedDataEvent(l1BlockNum: bigint, l2BlockNum: bigint) { blockNumber: l1BlockNum, args: { l2BlockNum, - sender: EthAddress.random(), + sender: EthAddress.random().toString(), data: '0x' + createRandomUnverifiedData(16).toString('hex'), }, transactionHash: `0x${l2BlockNum}`, - } as unknown as Log; + } as Log; } /** @@ -126,7 +126,7 @@ function makeContractDeployedEvent(l1BlockNum: bigint, l2BlockNum: bigint) { acir: '0x' + acir, }, transactionHash: `0x${l2BlockNum}`, - } as unknown as Log; + } as Log; } /**