Update SupportedProofTypes (#11988)

Update SupportedProofTypes to the correct ones.
This commit is contained in:
Phi-rjan 2024-05-13 09:43:43 +02:00 committed by GitHub
parent af4b68023a
commit 7e005be751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 28 additions and 14 deletions

View File

@ -88,8 +88,10 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
} }
var SupportedProofTypes = []abi.RegisteredSealProof{ var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg2KiBV1, abi.RegisteredSealProof_StackedDrg2KiBV1_1,
abi.RegisteredSealProof_StackedDrg8MiBV1, abi.RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep,
abi.RegisteredSealProof_StackedDrg8MiBV1_1,
abi.RegisteredSealProof_StackedDrg8MiBV1_1_Feat_SyntheticPoRep,
} }
var ConsensusMinerMinPower = abi.NewStoragePower(2048) var ConsensusMinerMinPower = abi.NewStoragePower(2048)
var MinVerifiedDealSize = abi.NewStoragePower(256) var MinVerifiedDealSize = abi.NewStoragePower(256)

View File

@ -71,9 +71,12 @@ const UpgradeWatermelonFix2Height = -101
const UpgradeCalibrationDragonFixHeight = -102 const UpgradeCalibrationDragonFixHeight = -102
var SupportedProofTypes = []abi.RegisteredSealProof{ var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg512MiBV1, abi.RegisteredSealProof_StackedDrg512MiBV1_1,
abi.RegisteredSealProof_StackedDrg32GiBV1, abi.RegisteredSealProof_StackedDrg512MiBV1_1_Feat_SyntheticPoRep,
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(2 << 30) var ConsensusMinerMinPower = abi.NewStoragePower(2 << 30)
var MinVerifiedDealSize = abi.NewStoragePower(1 << 20) var MinVerifiedDealSize = abi.NewStoragePower(1 << 20)

View File

@ -102,8 +102,10 @@ const UpgradeCalibrationDragonFixHeight = 1493854
const UpgradeAussieHeight = 999999999999999 const UpgradeAussieHeight = 999999999999999
var SupportedProofTypes = []abi.RegisteredSealProof{ var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg32GiBV1, abi.RegisteredSealProof_StackedDrg32GiBV1_1,
abi.RegisteredSealProof_StackedDrg64GiBV1, abi.RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep,
abi.RegisteredSealProof_StackedDrg64GiBV1_1,
abi.RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep,
} }
var ConsensusMinerMinPower = abi.NewStoragePower(32 << 30) var ConsensusMinerMinPower = abi.NewStoragePower(32 << 30)
var MinVerifiedDealSize = abi.NewStoragePower(1 << 20) var MinVerifiedDealSize = abi.NewStoragePower(1 << 20)

View File

@ -75,9 +75,12 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
} }
var SupportedProofTypes = []abi.RegisteredSealProof{ var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg2KiBV1, abi.RegisteredSealProof_StackedDrg2KiBV1_1,
abi.RegisteredSealProof_StackedDrg8MiBV1, abi.RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep,
abi.RegisteredSealProof_StackedDrg512MiBV1, 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 ConsensusMinerMinPower = abi.NewStoragePower(2048)
var MinVerifiedDealSize = abi.NewStoragePower(256) var MinVerifiedDealSize = abi.NewStoragePower(256)

View File

@ -119,8 +119,10 @@ const UpgradeWatermelonFix2Height = -2
const UpgradeCalibrationDragonFixHeight = -3 const UpgradeCalibrationDragonFixHeight = -3
var SupportedProofTypes = []abi.RegisteredSealProof{ var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg32GiBV1, abi.RegisteredSealProof_StackedDrg32GiBV1_1,
abi.RegisteredSealProof_StackedDrg64GiBV1, abi.RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep,
abi.RegisteredSealProof_StackedDrg64GiBV1_1,
abi.RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep,
} }
var ConsensusMinerMinPower = abi.NewStoragePower(10 << 40) var ConsensusMinerMinPower = abi.NewStoragePower(10 << 40)
var PreCommitChallengeDelay = abi.ChainEpoch(150) var PreCommitChallengeDelay = abi.ChainEpoch(150)

View File

@ -35,8 +35,10 @@ var (
PropagationDelaySecs = uint64(6) PropagationDelaySecs = uint64(6)
EquivocationDelaySecs = uint64(2) EquivocationDelaySecs = uint64(2)
SupportedProofTypes = []abi.RegisteredSealProof{ SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg32GiBV1, abi.RegisteredSealProof_StackedDrg32GiBV1_1,
abi.RegisteredSealProof_StackedDrg64GiBV1, abi.RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep,
abi.RegisteredSealProof_StackedDrg64GiBV1_1,
abi.RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep,
} }
ConsensusMinerMinPower = abi.NewStoragePower(10 << 40) ConsensusMinerMinPower = abi.NewStoragePower(10 << 40)
PreCommitChallengeDelay = abi.ChainEpoch(150) PreCommitChallengeDelay = abi.ChainEpoch(150)