Skip to content

Commit

Permalink
Fix TestRoundTrip off by 1 bug & update block 9
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpaulos committed May 9, 2024
1 parent 18af212 commit 3a5fb61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conduit/plugins/importers/filereader/fileReadWrite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func TestRoundTrip(t *testing.T) {
defer cleanArtifacts(t)

round := sdk.Round(0)
lastRound := numGzippedFiles(t) - 2 // subtract round-0 and the separate genesis file
lastRound := numGzippedFiles(t) - 1 // subtract round 0
require.GreaterOrEqual(t, lastRound, uint64(1))
require.LessOrEqual(t, lastRound, uint64(1000)) // overflow sanity check

Expand Down
Binary file not shown.

0 comments on commit 3a5fb61

Please sign in to comment.