Skip to content

Commit

Permalink
chore: remove references to v1 proof types
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Sep 28, 2023
1 parent 47f78cf commit 3c56111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion actors/miner/tests/state_harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl StateHarness {
let owner = 1;
let worker = 2;

let test_window_post_proof_type = RegisteredPoStProof::StackedDRGWindow2KiBV1;
let test_window_post_proof_type = RegisteredPoStProof::StackedDRGWindow2KiBV1P1;

let info = MinerInfo::new(
owner,
Expand Down
12 changes: 1 addition & 11 deletions actors/power/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,17 +402,7 @@ pub fn consensus_miner_min_power(
) -> anyhow::Result<StoragePower> {
use RegisteredPoStProof::*;
match p {
StackedDRGWinning2KiBV1
| StackedDRGWinning8MiBV1
| StackedDRGWinning512MiBV1
| StackedDRGWinning32GiBV1
| StackedDRGWinning64GiBV1
| StackedDRGWindow2KiBV1
| StackedDRGWindow8MiBV1
| StackedDRGWindow512MiBV1
| StackedDRGWindow32GiBV1
| StackedDRGWindow64GiBV1
| StackedDRGWindow2KiBV1P1
StackedDRGWindow2KiBV1P1
| StackedDRGWindow8MiBV1P1
| StackedDRGWindow512MiBV1P1
| StackedDRGWindow32GiBV1P1
Expand Down

0 comments on commit 3c56111

Please sign in to comment.