From 9a17958a30aaad0b6d29e54c3da33a6653ee8546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Sun, 12 Feb 2023 22:30:23 +0000 Subject: [PATCH] add nv20 upgrade heights for the sake of tests. --- build/params_calibnet.go | 2 +- build/params_interop.go | 4 ++-- build/params_mainnet.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/params_calibnet.go b/build/params_calibnet.go index bfce0c8d0..4b3ae329f 100644 --- a/build/params_calibnet.go +++ b/build/params_calibnet.go @@ -74,7 +74,7 @@ const UpgradeSharkHeight = 16800 // 6 days after genesis const UpgradeHyggeHeight = math.MaxInt64 // dummy -var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64) +var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 1) // dummy var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64) diff --git a/build/params_interop.go b/build/params_interop.go index cd5299f17..1c2ad61e2 100644 --- a/build/params_interop.go +++ b/build/params_interop.go @@ -53,9 +53,9 @@ var UpgradeSkyrHeight = abi.ChainEpoch(-19) const UpgradeSharkHeight = abi.ChainEpoch(-20) -const UpgradeHyggeHeight = abi.ChainEpoch(99999999999999) +const UpgradeHyggeHeight = abi.ChainEpoch(math.MaxInt64 - 2) -var UpgradeHyperspaceNV19Height = abi.ChainEpoch(99999999999999) +var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 1) var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64) diff --git a/build/params_mainnet.go b/build/params_mainnet.go index 42b7ec32d..35561a281 100644 --- a/build/params_mainnet.go +++ b/build/params_mainnet.go @@ -87,10 +87,10 @@ const UpgradeSkyrHeight = 1960320 const UpgradeSharkHeight = 2383680 // ?????????????? -var UpgradeHyggeHeight = abi.ChainEpoch(math.MaxInt64 - 1) +var UpgradeHyggeHeight = abi.ChainEpoch(math.MaxInt64 - 2) // ?????????????? -var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64) +var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 1) // dummy var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64)