@@ -65,7 +65,11 @@ contract CheckpointTrackerTest is Test {
65
65
66
66
vm.expectEmit ();
67
67
emit ICheckpointTracker.CheckpointUpdated (end);
68
- tracker.proveTransition (end, numRelevantPublications, proof);
68
+
69
+ // Empty checkpoint needed to comply with the interface, but not used in `CheckpointTracker`
70
+ ICheckpointTracker.Checkpoint memory emptyCheckpoint =
71
+ ICheckpointTracker.Checkpoint ({publicationId: 0 , commitment: bytes32 (0 )});
72
+ tracker.proveTransition (emptyCheckpoint, end, numRelevantPublications, proof);
69
73
70
74
ICheckpointTracker.Checkpoint memory provenCheckpoint = tracker.getProvenCheckpoint ();
71
75
assertEq (provenCheckpoint.publicationId, end.publicationId);
@@ -78,7 +82,10 @@ contract CheckpointTrackerTest is Test {
78
82
uint256 numRelevantPublications = 2 ;
79
83
80
84
vm.expectRevert ("Checkpoint commitment cannot be 0 " );
81
- tracker.proveTransition (end, numRelevantPublications, proof);
85
+ // Empty checkpoint needed to comply with the interface, but not used in `CheckpointTracker`
86
+ ICheckpointTracker.Checkpoint memory emptyCheckpoint =
87
+ ICheckpointTracker.Checkpoint ({publicationId: 0 , commitment: bytes32 (0 )});
88
+ tracker.proveTransition (emptyCheckpoint, end, numRelevantPublications, proof);
82
89
}
83
90
84
91
function createSampleFeed () private {
0 commit comments