Skip to content

Commit 56ac761

Browse files
committed
fixes after merge
1 parent d9148c2 commit 56ac761

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

yarn-project/pxe/src/tagging/sync/sync_sender_tagging_indexes.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { BlockNumber } from '@aztec/foundation/branded-types';
22
import { Fr } from '@aztec/foundation/curves/bn254';
33
import { openTmpStore } from '@aztec/kv-store/lmdb-v2';
44
import { AztecAddress } from '@aztec/stdlib/aztec-address';
5+
import { L2BlockHash } from '@aztec/stdlib/block';
56
import type { AztecNode } from '@aztec/stdlib/interfaces/client';
67
import { PrivateLog, TxScopedL2Log } from '@aztec/stdlib/logs';
78
import { TxHash, TxStatus } from '@aztec/stdlib/tx';
@@ -26,7 +27,7 @@ describe('syncSenderTaggingIndexes', () => {
2627
}
2728

2829
function makeLog(txHash: TxHash, tag: Fr) {
29-
return new TxScopedL2Log(txHash, 0, 0, BlockNumber(0), PrivateLog.random(tag));
30+
return new TxScopedL2Log(txHash, 0, 0, BlockNumber(0), L2BlockHash.random(), PrivateLog.random(tag));
3031
}
3132

3233
async function setUp() {

yarn-project/pxe/src/tagging/sync/utils/load_and_store_new_tagging_indexes.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { BlockNumber } from '@aztec/foundation/branded-types';
22
import { Fr } from '@aztec/foundation/curves/bn254';
33
import { openTmpStore } from '@aztec/kv-store/lmdb-v2';
44
import { AztecAddress } from '@aztec/stdlib/aztec-address';
5+
import { L2BlockHash } from '@aztec/stdlib/block';
56
import type { AztecNode } from '@aztec/stdlib/interfaces/server';
67
import { DirectionalAppTaggingSecret, PrivateLog, TxScopedL2Log } from '@aztec/stdlib/logs';
78
import { TxHash } from '@aztec/stdlib/tx';
@@ -27,7 +28,7 @@ describe('loadAndStoreNewTaggingIndexes', () => {
2728
}
2829

2930
function makeLog(txHash: TxHash, tag: Fr) {
30-
return new TxScopedL2Log(txHash, 0, 0, BlockNumber(0), PrivateLog.random(tag));
31+
return new TxScopedL2Log(txHash, 0, 0, BlockNumber(0), L2BlockHash.random(), PrivateLog.random(tag));
3132
}
3233

3334
beforeAll(async () => {

yarn-project/txe/src/state_machine/archiver.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import type { AztecAddress } from '@aztec/stdlib/aztec-address';
99
import {
1010
CommitteeAttestation,
1111
L2Block,
12+
type L2BlockId,
1213
type L2BlockSource,
1314
type L2Tips,
1415
PublishedL2Block,

0 commit comments

Comments
 (0)