Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: params: Update SupportedProofTypes to the correct ones #11988

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading