Skip to content

Commit

Permalink
Update SupportedProofTypes (#11988)
Browse files Browse the repository at this point in the history
Update SupportedProofTypes to the correct ones.
  • Loading branch information
rjan90 authored May 13, 2024
1 parent af4b680 commit 7e005be
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 14 deletions.
6 changes: 4 additions & 2 deletions build/params_2k.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 6 additions & 3 deletions build/params_butterfly.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions build/params_calibnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 6 additions & 3 deletions build/params_interop.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions build/params_mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions build/params_testground.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7e005be

Please sign in to comment.