Skip to content

Commit 0da7bf7

Browse files
committed
fix: adapt schema_tests.ts to v4-next BlockHash API
v4-next BlockHash class lacks the BlockHash.ZERO static introduced after the branch cut. Replaced with new BlockHash(Fr.ZERO) which is equivalent.
1 parent eb084da commit 0da7bf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

yarn-project/pxe/src/storage/backwards_compatibility_tests/schema_tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export const SCHEMA_TESTS: readonly SchemaTest[] = [
354354
// writes back to the staged map; `commit` then flushes it to disk with the populated trailer and adds the
355355
// corresponding `note_block_number_to_nullifier` entry.
356356
await noteStore.applyNullifiers(
357-
[{ data: note3.siloedNullifier, l2BlockNumber: BlockNumber(223), l2BlockHash: BlockHash.ZERO }],
357+
[{ data: note3.siloedNullifier, l2BlockNumber: BlockNumber(223), l2BlockHash: new BlockHash(Fr.ZERO) }],
358358
jobId,
359359
);
360360

0 commit comments

Comments
 (0)