Skip to content

Commit

Permalink
Update SupportedProofTypes
Browse files Browse the repository at this point in the history
Update SupportedProofTypes to the correct ones.
  • Loading branch information
rjan90 authored and ribasushi committed May 11, 2024
1 parent bc021f3 commit 620d59f
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 @@ -86,8 +86,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 @@ -99,8 +99,10 @@ const UpgradePhoenixHeight = UpgradeDragonHeight + 120
const UpgradeCalibrationDragonFixHeight = 1493854

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 @@ -74,9 +74,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 @@ -116,8 +116,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 620d59f

Please sign in to comment.