Skip to content

Commit

Permalink
chore: set upgrade height for testnet v8
Browse files Browse the repository at this point in the history
  • Loading branch information
zakir-code committed Jan 2, 2025
1 parent 3556b71 commit df629a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/doctor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions types/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit df629a5

Please sign in to comment.