diff --git a/build/params_2k.go b/build/params_2k.go index 8ad6393b138..2ab97a0d433 100644 --- a/build/params_2k.go +++ b/build/params_2k.go @@ -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 diff --git a/build/params_mainnet.go b/build/params_mainnet.go index b2527ac1b4a..7c32433e684 100644 --- a/build/params_mainnet.go +++ b/build/params_mainnet.go @@ -104,7 +104,7 @@ 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 } diff --git a/build/params_testground.go b/build/params_testground.go index 62d9101be05..c19fff6ea21 100644 --- a/build/params_testground.go +++ b/build/params_testground.go @@ -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{