Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoAdoAdo committed May 15, 2024
1 parent f79acdf commit 6430307
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,8 @@ func TestChainSimulator_EdgeCaseLowWaitingList(t *testing.T) {
// we always have 0 in auction list because of the lowWaitingList condition
epochToCheck += 1
err = cs.GenerateBlocksUntilEpochIsReached(epochToCheck)
require.Nil(t, err)

numQualified, numUnQualified = getNumQualifiedAndUnqualified(t, metachainNode)
require.Equal(t, 0, numQualified)
require.Equal(t, 0, numUnQualified)
Expand All @@ -2461,6 +2463,8 @@ func TestChainSimulator_EdgeCaseLowWaitingList(t *testing.T) {

epochToCheck += 1
err = cs.GenerateBlocksUntilEpochIsReached(epochToCheck)
require.Nil(t, err)

numQualified, numUnQualified = getNumQualifiedAndUnqualified(t, metachainNode)
// all the previously registered will be selected, as we have 24 nodes in eligible+waiting, 8 will shuffle out,
// but this time there will be not be lowWaitingList, as there are enough in auction, so we will end up with
Expand Down

0 comments on commit 6430307

Please sign in to comment.