Skip to content

Commit

Permalink
feat: set up Mongolian upgrade for Mainnet and Testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
constwz committed Jul 11, 2024
1 parent eef3f5c commit 628b337
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
11 changes: 11 additions & 0 deletions x/upgrade/types/upgrade_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -126,6 +133,10 @@ var (
Name: Veld,
Height: 9581218,
Info: "Veld hardfork",
}).SetPlan(&Plan{
Name: Mongolian,
// todo: height
Info: "Mongolian hardfork",
})
)

Expand Down

0 comments on commit 628b337

Please sign in to comment.