From 68a03c41817dce089e0caa21a04162ee8c3536d5 Mon Sep 17 00:00:00 2001 From: Phi Date: Tue, 11 Jul 2023 09:23:30 +0200 Subject: [PATCH] Set local devnet-genesis to nv20 Set local devnet-genesis to nv20 --- build/params_2k.go | 4 ++-- build/params_mainnet.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/params_2k.go b/build/params_2k.go index c2da7223f..4af81f851 100644 --- a/build/params_2k.go +++ b/build/params_2k.go @@ -23,7 +23,7 @@ var NetworkBundle = "devnet" var BundleOverrides map[actorstypes.Version]string var ActorDebugging = true -const GenesisNetworkVersion = network.Version18 +const GenesisNetworkVersion = network.Version20 var UpgradeBreezeHeight = abi.ChainEpoch(-1) @@ -122,7 +122,7 @@ func init() { UpgradeHyggeHeight = getUpgradeHeight("LOTUS_HYGGE_HEIGHT", UpgradeHyggeHeight) UpgradeLightningHeight = getUpgradeHeight("LOTUS_LIGHTNING_HEIGHT", UpgradeLightningHeight) UpgradeThunderHeight = getUpgradeHeight("LOTUS_THUNDER_HEIGHT", UpgradeThunderHeight) - UpgradeWatermelonHeight = getUpgradeHeight("LOTUS_Watermelon_HEIGHT", UpgradeWatermelonHeight) + UpgradeWatermelonHeight = getUpgradeHeight("LOTUS_WATERMELON_HEIGHT", UpgradeWatermelonHeight) BuildType |= Build2k diff --git a/build/params_mainnet.go b/build/params_mainnet.go index 846730ed2..0b3c0a254 100644 --- a/build/params_mainnet.go +++ b/build/params_mainnet.go @@ -111,7 +111,7 @@ func init() { SetAddressNetwork(address.Mainnet) } - if os.Getenv("LOTUS_DISABLE_Watermelon") == "1" { + if os.Getenv("LOTUS_DISABLE_WATERMELON") == "1" { UpgradeWatermelonHeight = math.MaxInt64 }