From 7e005be751d3695bb05010292ed24f10c1d583bf Mon Sep 17 00:00:00 2001 From: Phi-rjan Date: Mon, 13 May 2024 09:43:43 +0200 Subject: [PATCH] Update SupportedProofTypes (#11988) Update SupportedProofTypes to the correct ones. --- build/params_2k.go | 6 ++++-- build/params_butterfly.go | 9 ++++++--- build/params_calibnet.go | 6 ++++-- build/params_interop.go | 9 ++++++--- build/params_mainnet.go | 6 ++++-- build/params_testground.go | 6 ++++-- 6 files changed, 28 insertions(+), 14 deletions(-) diff --git a/build/params_2k.go b/build/params_2k.go index 7c754611e..367e92afe 100644 --- a/build/params_2k.go +++ b/build/params_2k.go @@ -88,8 +88,10 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{ } var SupportedProofTypes = []abi.RegisteredSealProof{ - abi.RegisteredSealProof_StackedDrg2KiBV1, - abi.RegisteredSealProof_StackedDrg8MiBV1, + abi.RegisteredSealProof_StackedDrg2KiBV1_1, + abi.RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg8MiBV1_1, + abi.RegisteredSealProof_StackedDrg8MiBV1_1_Feat_SyntheticPoRep, } var ConsensusMinerMinPower = abi.NewStoragePower(2048) var MinVerifiedDealSize = abi.NewStoragePower(256) diff --git a/build/params_butterfly.go b/build/params_butterfly.go index fee1a4343..d5f93044c 100644 --- a/build/params_butterfly.go +++ b/build/params_butterfly.go @@ -71,9 +71,12 @@ const UpgradeWatermelonFix2Height = -101 const UpgradeCalibrationDragonFixHeight = -102 var SupportedProofTypes = []abi.RegisteredSealProof{ - abi.RegisteredSealProof_StackedDrg512MiBV1, - abi.RegisteredSealProof_StackedDrg32GiBV1, - abi.RegisteredSealProof_StackedDrg64GiBV1, + abi.RegisteredSealProof_StackedDrg512MiBV1_1, + abi.RegisteredSealProof_StackedDrg512MiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg32GiBV1_1, + abi.RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg64GiBV1_1, + abi.RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep, } var ConsensusMinerMinPower = abi.NewStoragePower(2 << 30) var MinVerifiedDealSize = abi.NewStoragePower(1 << 20) diff --git a/build/params_calibnet.go b/build/params_calibnet.go index 889f65196..1e9dc9274 100644 --- a/build/params_calibnet.go +++ b/build/params_calibnet.go @@ -102,8 +102,10 @@ const UpgradeCalibrationDragonFixHeight = 1493854 const UpgradeAussieHeight = 999999999999999 var SupportedProofTypes = []abi.RegisteredSealProof{ - abi.RegisteredSealProof_StackedDrg32GiBV1, - abi.RegisteredSealProof_StackedDrg64GiBV1, + abi.RegisteredSealProof_StackedDrg32GiBV1_1, + abi.RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg64GiBV1_1, + abi.RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep, } var ConsensusMinerMinPower = abi.NewStoragePower(32 << 30) var MinVerifiedDealSize = abi.NewStoragePower(1 << 20) diff --git a/build/params_interop.go b/build/params_interop.go index 18e4a464b..ee8816c48 100644 --- a/build/params_interop.go +++ b/build/params_interop.go @@ -75,9 +75,12 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{ } var SupportedProofTypes = []abi.RegisteredSealProof{ - abi.RegisteredSealProof_StackedDrg2KiBV1, - abi.RegisteredSealProof_StackedDrg8MiBV1, - abi.RegisteredSealProof_StackedDrg512MiBV1, + abi.RegisteredSealProof_StackedDrg2KiBV1_1, + abi.RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg8MiBV1_1, + abi.RegisteredSealProof_StackedDrg8MiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg512MiBV1_1, + abi.RegisteredSealProof_StackedDrg512MiBV1_1_Feat_SyntheticPoRep, } var ConsensusMinerMinPower = abi.NewStoragePower(2048) var MinVerifiedDealSize = abi.NewStoragePower(256) diff --git a/build/params_mainnet.go b/build/params_mainnet.go index e79acdca3..eef1092f2 100644 --- a/build/params_mainnet.go +++ b/build/params_mainnet.go @@ -119,8 +119,10 @@ const UpgradeWatermelonFix2Height = -2 const UpgradeCalibrationDragonFixHeight = -3 var SupportedProofTypes = []abi.RegisteredSealProof{ - abi.RegisteredSealProof_StackedDrg32GiBV1, - abi.RegisteredSealProof_StackedDrg64GiBV1, + abi.RegisteredSealProof_StackedDrg32GiBV1_1, + abi.RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg64GiBV1_1, + abi.RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep, } var ConsensusMinerMinPower = abi.NewStoragePower(10 << 40) var PreCommitChallengeDelay = abi.ChainEpoch(150) diff --git a/build/params_testground.go b/build/params_testground.go index beb296bd9..dd24fd660 100644 --- a/build/params_testground.go +++ b/build/params_testground.go @@ -35,8 +35,10 @@ var ( PropagationDelaySecs = uint64(6) EquivocationDelaySecs = uint64(2) SupportedProofTypes = []abi.RegisteredSealProof{ - abi.RegisteredSealProof_StackedDrg32GiBV1, - abi.RegisteredSealProof_StackedDrg64GiBV1, + abi.RegisteredSealProof_StackedDrg32GiBV1_1, + abi.RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep, + abi.RegisteredSealProof_StackedDrg64GiBV1_1, + abi.RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep, } ConsensusMinerMinPower = abi.NewStoragePower(10 << 40) PreCommitChallengeDelay = abi.ChainEpoch(150)