Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix linter
Browse files Browse the repository at this point in the history
KonradStaniec committed Dec 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5bbb93a commit 86791a2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/replay/driver.go
Original file line number Diff line number Diff line change
@@ -633,10 +633,6 @@ func (d *BabylonAppDriver) GetLastFinalizedEpoch() uint64 {
return d.App.CheckpointingKeeper.GetLastFinalizedEpoch(d.GetContextForLastFinalizedBlock())
}

func (d *BabylonAppDriver) SetParams(params et.Params) {
d.App.EpochingKeeper.SetParams(d.GetContextForLastFinalizedBlock(), params)
}

func (d *BabylonAppDriver) GenCkptForEpoch(r *rand.Rand, t *testing.T, epochNumber uint64) {
ckptWithMeta := d.GetCheckpoint(t, epochNumber)
subAddress := d.GetDriverAccountAddress()
@@ -674,7 +670,7 @@ func (d *BabylonAppDriver) FinializeCkptForEpoch(r *rand.Rand, t *testing.T, epo
btckptParams := d.GetBTCCkptParams(t)
d.GenCkptForEpoch(r, t, epochNumber)

_, _ = d.ExtendBTCLcWithNEmptyBlocks(r, t, uint32(btckptParams.CheckpointFinalizationTimeout))
_, _ = d.ExtendBTCLcWithNEmptyBlocks(r, t, btckptParams.CheckpointFinalizationTimeout)

lastFinalizedEpoch = d.GetLastFinalizedEpoch()
require.Equal(t, lastFinalizedEpoch, epochNumber)

0 comments on commit 86791a2

Please sign in to comment.