From df629a52e998dc15c307304a1214a777a2a52d4c Mon Sep 17 00:00:00 2001 From: zakir <80246097+zakir-code@users.noreply.github.com> Date: Thu, 2 Jan 2025 10:42:10 +0800 Subject: [PATCH] chore: set upgrade height for testnet v8 --- cmd/doctor.go | 2 ++ types/version.go | 1 + 2 files changed, 3 insertions(+) diff --git a/cmd/doctor.go b/cmd/doctor.go index 68f9244d..884158c8 100644 --- a/cmd/doctor.go +++ b/cmd/doctor.go @@ -320,6 +320,8 @@ func checkBlockchainData(bc blockchain, genesisId, privValidatorKeyFile string) fmt.Printf("%sVersion: V7.3\n", SPACE) } else if blockHeight < fxtypes.TestnetBlockHeightV75 { fmt.Printf("%sVersion: V7.4\n", SPACE) + } else if blockHeight < fxtypes.TestnetBlockHeightV8 { + fmt.Printf("%sVersion: V8\n", SPACE) } } return plan != nil, nil diff --git a/types/version.go b/types/version.go index 887b41f4..2df3f6ff 100644 --- a/types/version.go +++ b/types/version.go @@ -36,6 +36,7 @@ const ( TestnetBlockHeightV73 = 14_551_500 // v7.3 TestnetBlockHeightV74 = 15_614_000 // v7.4 TestnetBlockHeightV75 = 15_660_500 // v7.5 + TestnetBlockHeightV8 = 18_005_000 // v8 ) func EIP155ChainID(chainId string) *big.Int {