Skip to content

Commit

Permalink
fix: build: Ensure Quicknet is used when spinning up 2k/butterfly net…
Browse files Browse the repository at this point in the history
…works (#12175)

* Update to always use quicknet in 2k-net

Update to always use quicknet in 2k-net

* Update params_2k.go

Update params_2k.go

* Update to always use DrandQuicknet in Butterfly/Interop

Update to always use DrandQuicknet in Butterfly/Interop
  • Loading branch information
rjan90 committed Jul 3, 2024
1 parent 935a77f commit 3c705fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions build/params_2k.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ const UpgradeWatermelonFix2Height = -101
const UpgradeCalibrationDragonFixHeight = -102

var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandMainnet,
UpgradePhoenixHeight: DrandQuicknet,
0: DrandQuicknet,
}

var SupportedProofTypes = []abi.RegisteredSealProof{
Expand Down Expand Up @@ -160,8 +159,7 @@ func init() {

UpgradePhoenixHeight = getUpgradeHeight("LOTUS_PHOENIX_HEIGHT", UpgradePhoenixHeight)
DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandMainnet,
UpgradePhoenixHeight: DrandQuicknet,
0: DrandQuicknet,
}

BuildType |= Build2k
Expand Down
3 changes: 1 addition & 2 deletions build/params_butterfly.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import (
)

var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandMainnet,
UpgradePhoenixHeight: DrandQuicknet,
0: DrandQuicknet,
}

const GenesisNetworkVersion = network.Version21
Expand Down
3 changes: 1 addition & 2 deletions build/params_interop.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ const UpgradeWatermelonFix2Height = -2
const UpgradeCalibrationDragonFixHeight = -3

var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandMainnet,
UpgradePhoenixHeight: DrandQuicknet,
0: DrandQuicknet,
}

var SupportedProofTypes = []abi.RegisteredSealProof{
Expand Down

0 comments on commit 3c705fa

Please sign in to comment.