Skip to content

Commit

Permalink
test: niporep: correct error message for future sealrand
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jun 25, 2024
1 parent 6e17611 commit c91b771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itests/niporep_manual_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func verifyProveCommitSectorsNIErrorConditions(ctx context.Context, t *testing.T
req.NoError(err)
params = mkParams()
params.Sectors[1].SealRandEpoch = head.Height() + builtin.EpochsInDay
submitAndFail(&params, "call ran out of gas", -1) // TODO: when actors is fixed, this should be: "invalid NI commit 1 while requiring activation success", 16)
submitAndFail(&params, fmt.Sprintf("seal challenge epoch %d must be before now", params.Sectors[1].SealRandEpoch), 16)
params.Sectors[1].SealRandEpoch = head.Height() - 190*builtin.EpochsInDay
submitAndFail(&params, "invalid NI commit 1 while requiring activation success", 16)

Expand Down

0 comments on commit c91b771

Please sign in to comment.