From ef8c24611e955726266bad9eae21e7b5b3ef2a5d Mon Sep 17 00:00:00 2001 From: nemo Date: Fri, 8 Sep 2023 12:51:42 -0400 Subject: [PATCH] fix: apply review feedback --- actors/miner/tests/miner_actor_test_commitment.rs | 2 +- actors/miner/tests/util.rs | 2 +- integration_tests/src/tests/commit_post_test.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/actors/miner/tests/miner_actor_test_commitment.rs b/actors/miner/tests/miner_actor_test_commitment.rs index b6189c3b0..f7fdfbbd2 100644 --- a/actors/miner/tests/miner_actor_test_commitment.rs +++ b/actors/miner/tests/miner_actor_test_commitment.rs @@ -506,7 +506,7 @@ mod miner_actor_test_commitment { ); rt.reset(); precommit_params.seal_proof = - RegisteredSealProof::StackedDRG32GiBV1P1_Feat_SyntheticPoRep; + RegisteredSealProof::StackedDRG32GiBV1P1; h.pre_commit_sector_and_get( &rt, precommit_params, diff --git a/actors/miner/tests/util.rs b/actors/miner/tests/util.rs index 9d9d363f7..c06ceadef 100644 --- a/actors/miner/tests/util.rs +++ b/actors/miner/tests/util.rs @@ -171,7 +171,7 @@ impl ActorHarness { let receiver = Address::new_id(RECEIVER_ID); let rwd = TokenAmount::from_whole(10); let pwr = StoragePower::from(1i128 << 50); - let proof_type = RegisteredSealProof::StackedDRG32GiBV1P1_Feat_SyntheticPoRep; + let proof_type = RegisteredSealProof::StackedDRG32GiBV1P1; ActorHarness { receiver, diff --git a/integration_tests/src/tests/commit_post_test.rs b/integration_tests/src/tests/commit_post_test.rs index 02abc4a3e..f3d1c9bdf 100644 --- a/integration_tests/src/tests/commit_post_test.rs +++ b/integration_tests/src/tests/commit_post_test.rs @@ -48,7 +48,7 @@ struct MinerInfo { fn setup(v: &dyn VM) -> (MinerInfo, SectorInfo) { let addrs = create_accounts(v, 1, &TokenAmount::from_whole(10_000)); - let seal_proof = RegisteredSealProof::StackedDRG32GiBV1P1_Feat_SyntheticPoRep; + let seal_proof = RegisteredSealProof::StackedDRG32GiBV1P1; let (owner, worker) = (addrs[0], addrs[0]); let worker_id = worker.id().unwrap(); let (id_addr, robust_addr) = create_miner(