From 628b337cbb6e3109ff17bb6a4dbf188be2e6c36a Mon Sep 17 00:00:00 2001 From: constwz Date: Thu, 11 Jul 2024 10:40:38 +0800 Subject: [PATCH] feat: set up Mongolian upgrade for Mainnet and Testnet --- types/upgrade.go | 3 +++ x/upgrade/types/upgrade_config.go | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/types/upgrade.go b/types/upgrade.go index efb18d1b5..afe848d59 100644 --- a/types/upgrade.go +++ b/types/upgrade.go @@ -32,4 +32,7 @@ const ( // Veld is the upgrade name for Veld upgrade Veld = "Veld" + + // Mongolian is the upgrade name for Mongolian upgrade + Mongolian = "Mongolian" ) diff --git a/x/upgrade/types/upgrade_config.go b/x/upgrade/types/upgrade_config.go index c4ac2ce31..71c1adc56 100644 --- a/x/upgrade/types/upgrade_config.go +++ b/x/upgrade/types/upgrade_config.go @@ -38,6 +38,9 @@ const ( // Veld is the upgrade name for Veld upgrade Veld = types.Veld + + // Mongolian is the upgrade name for Mongolian upgrade + Mongolian = types.Mongolian ) // The default upgrade config for networks @@ -83,6 +86,10 @@ var ( Name: Veld, Height: 9269910, Info: "Veld hardfork", + }).SetPlan(&Plan{ + Name: Mongolian, + // todo: height + Info: "Mongolian hardfork", }) TestnetChainID = "greenfield_5600-1" @@ -126,6 +133,10 @@ var ( Name: Veld, Height: 9581218, Info: "Veld hardfork", + }).SetPlan(&Plan{ + Name: Mongolian, + // todo: height + Info: "Mongolian hardfork", }) )