Skip to content

Commit

Permalink
Update prefactor tests to correct names
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed May 29, 2024
1 parent cad793d commit c9acc1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actors/miner/tests/prove_commit2_failures_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ fn reject_too_soon() {
let (h, rt, activations) = setup_precommits(&[(0, 0, 0)]);
let epoch = *rt.epoch.borrow();
rt.set_epoch(epoch - 2);
let cfg = ProveCommitSectors2Config::default();
let cfg = ProveCommitSectors3Config::default();
expect_abort_contains_message(
ExitCode::USR_FORBIDDEN,
"too early to prove sector",
h.prove_commit_sectors2(&rt, &activations, false, false, false, cfg),
h.prove_commit_sectors3(&rt, &activations, false, false, false, cfg),
);
h.check_state(&rt);
}
Expand Down

0 comments on commit c9acc1f

Please sign in to comment.