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 7c754611eb4..367e92afed9 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 fee1a434326..d5f93044cc9 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 889f6519635..1e9dc92745a 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 18e4a464be0..ee8816c48ab 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 e79acdca33d..eef1092f2bb 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 beb296bd92e..dd24fd660a3 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)