chore: Upgrade heights and codename
Update upgrade heights Co-Authored-By: Steven Allen <steven@stebalien.com>
This commit is contained in:
1 parent
ff325c8ca9
commit
d6d32ec593
12 files changed
+18
-19
No files matched your search
Binary file not shown.
+3
-3
@@ -67,9 +67,9 @@ var UpgradeThunderHeight = abi.ChainEpoch(-23)
|
||||
|
||||
var UpgradeWatermelonHeight = abi.ChainEpoch(-24)
|
||||
|
||||
var UpgradePineappleHeight = abi.ChainEpoch(20)
|
||||
var UpgradeDragonHeight = abi.ChainEpoch(20)
|
||||
|
||||
var UpgradeMangoHeight = UpgradePineappleHeight + 10
|
||||
var UpgradeMangoHeight = UpgradeDragonHeight + 10
|
||||
|
||||
// This fix upgrade only ran on calibrationnet
|
||||
const UpgradeWatermelonFixHeight = -100
|
||||
@@ -134,7 +134,7 @@ func init() {
|
||||
UpgradeLightningHeight = getUpgradeHeight("LOTUS_LIGHTNING_HEIGHT", UpgradeLightningHeight)
|
||||
UpgradeThunderHeight = getUpgradeHeight("LOTUS_THUNDER_HEIGHT", UpgradeThunderHeight)
|
||||
UpgradeWatermelonHeight = getUpgradeHeight("LOTUS_WATERMELON_HEIGHT", UpgradeWatermelonHeight)
|
||||
UpgradePineappleHeight = getUpgradeHeight("LOTUS_PINEAPPLE_HEIGHT", UpgradePineappleHeight)
|
||||
UpgradeDragonHeight = getUpgradeHeight("LOTUS_DRAGON_HEIGHT", UpgradeDragonHeight)
|
||||
|
||||
BuildType |= Build2k
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
|
||||
UpgradeMangoHeight: DrandQuicknet,
|
||||
}
|
||||
|
||||
const GenesisNetworkVersion = network.Version20
|
||||
const GenesisNetworkVersion = network.Version21
|
||||
|
||||
var NetworkBundle = "butterflynet"
|
||||
var BundleOverrides map[actorstypes.Version]string
|
||||
@@ -57,8 +57,7 @@ const UpgradeLightningHeight = -22
|
||||
const UpgradeThunderHeight = -23
|
||||
const UpgradeWatermelonHeight = -24
|
||||
|
||||
// ??????
|
||||
const UpgradePineappleHeight = 999999999999999
|
||||
const UpgradeDragonHeight = 5760
|
||||
|
||||
const UpgradeMangoHeight = UpgradePineappleHeight + 10
|
||||
|
||||
|
||||
@@ -89,8 +89,8 @@ const UpgradeWatermelonFixHeight = 1070494
|
||||
// 2023-11-21T13:00:00Z
|
||||
const UpgradeWatermelonFix2Height = 1108174
|
||||
|
||||
// ??????
|
||||
const UpgradePineappleHeight = 999999999999999
|
||||
// 2024-02-27T14:00:00Z
|
||||
const UpgradeDragonHeight = 1390534
|
||||
|
||||
const UpgradeMangoHeight = UpgradePineappleHeight + 10
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ var UpgradeLightningHeight = abi.ChainEpoch(-22)
|
||||
var UpgradeThunderHeight = abi.ChainEpoch(-23)
|
||||
var UpgradeWatermelonHeight = abi.ChainEpoch(-24)
|
||||
|
||||
const UpgradePineappleHeight = 50
|
||||
const UpgradeDragonHeight = 50
|
||||
|
||||
const UpgradeMangoHeight = UpgradePineappleHeight + 10
|
||||
|
||||
|
||||
@@ -100,11 +100,11 @@ const UpgradeThunderHeight = UpgradeLightningHeight + 2880*21
|
||||
const UpgradeWatermelonHeight = 3469380
|
||||
|
||||
// ??????
|
||||
var UpgradePineappleHeight = abi.ChainEpoch(999999999999999)
|
||||
var UpgradeDragonHeight = abi.ChainEpoch(999999999999999)
|
||||
|
||||
// This epoch, 10 epochs after the "rest" of the nv22 upgrade, is when we switch to Drand quicknet
|
||||
// ??????
|
||||
var UpgradeMangoHeight = UpgradePineappleHeight + 10
|
||||
var UpgradeMangoHeight = UpgradeDragonHeight + 10
|
||||
|
||||
// This fix upgrade only ran on calibrationnet
|
||||
const UpgradeWatermelonFixHeight = -1
|
||||
@@ -127,8 +127,8 @@ func init() {
|
||||
SetAddressNetwork(address.Mainnet)
|
||||
}
|
||||
|
||||
if os.Getenv("LOTUS_DISABLE_PINEAPPLE") == "1" {
|
||||
UpgradePineappleHeight = math.MaxInt64 - 1
|
||||
if os.Getenv("LOTUS_DISABLE_DRAGON") == "1" {
|
||||
UpgradeDragonHeight = math.MaxInt64 - 1
|
||||
UpgradeMangoHeight = math.MaxInt64
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ var (
|
||||
UpgradeWatermelonHeight abi.ChainEpoch = -23
|
||||
UpgradeWatermelonFixHeight abi.ChainEpoch = -24
|
||||
UpgradeWatermelonFix2Height abi.ChainEpoch = -25
|
||||
UpgradePineappleHeight abi.ChainEpoch = -26
|
||||
UpgradeDragonHeight abi.ChainEpoch = -26
|
||||
UpgradeMangoHeight abi.ChainEpoch = -27
|
||||
|
||||
DrandSchedule = map[abi.ChainEpoch]DrandEnum{
|
||||
|
||||
Reference in new issue
Block a user