Skip to content

Commit 3c56111

Browse files
committed
chore: remove references to v1 proof types
1 parent 47f78cf commit 3c56111

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

actors/miner/tests/state_harness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl StateHarness {
3636
let owner = 1;
3737
let worker = 2;
3838

39-
let test_window_post_proof_type = RegisteredPoStProof::StackedDRGWindow2KiBV1;
39+
let test_window_post_proof_type = RegisteredPoStProof::StackedDRGWindow2KiBV1P1;
4040

4141
let info = MinerInfo::new(
4242
owner,

actors/power/src/state.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -402,17 +402,7 @@ pub fn consensus_miner_min_power(
402402
) -> anyhow::Result<StoragePower> {
403403
use RegisteredPoStProof::*;
404404
match p {
405-
StackedDRGWinning2KiBV1
406-
| StackedDRGWinning8MiBV1
407-
| StackedDRGWinning512MiBV1
408-
| StackedDRGWinning32GiBV1
409-
| StackedDRGWinning64GiBV1
410-
| StackedDRGWindow2KiBV1
411-
| StackedDRGWindow8MiBV1
412-
| StackedDRGWindow512MiBV1
413-
| StackedDRGWindow32GiBV1
414-
| StackedDRGWindow64GiBV1
415-
| StackedDRGWindow2KiBV1P1
405+
StackedDRGWindow2KiBV1P1
416406
| StackedDRGWindow8MiBV1P1
417407
| StackedDRGWindow512MiBV1P1
418408
| StackedDRGWindow32GiBV1P1

0 commit comments

Comments
 (0)