From 8cfd0c7bac948ea381acac9226ffcb72f8541802 Mon Sep 17 00:00:00 2001 From: simlecode <69969590+simlecode@users.noreply.github.com> Date: Thu, 23 Feb 2023 09:49:38 +0800 Subject: [PATCH] fix: update persian height to 240 --- fixtures/networks/calibration.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fixtures/networks/calibration.go b/fixtures/networks/calibration.go index bacb090a17..5a04fceb83 100644 --- a/fixtures/networks/calibration.go +++ b/fixtures/networks/calibration.go @@ -4,6 +4,7 @@ import ( "github.com/filecoin-project/go-address" "github.com/filecoin-project/go-state-types/abi" "github.com/filecoin-project/go-state-types/network" + builtin2 "github.com/filecoin-project/specs-actors/v2/actors/builtin" "github.com/filecoin-project/venus/pkg/config" "github.com/filecoin-project/venus/venus-shared/types" ) @@ -48,7 +49,7 @@ func Calibration() *NetworkConf { UpgradeLiftoffHeight: -5, UpgradeKumquatHeight: 90, UpgradeCalicoHeight: 120, - UpgradePersianHeight: 100 + (120 * 1), + UpgradePersianHeight: 120 + (builtin2.EpochsInHour * 1), UpgradeClausHeight: 270, UpgradeOrangeHeight: 300, UpgradeTrustHeight: 330,