Skip to content

Commit

Permalink
Merge pull request #453 from bnb-chain/feat-mongolian-hardfork
Browse files Browse the repository at this point in the history
feat: set up Mongolian upgrade for Mainnet and Testnet
  • Loading branch information
constwz authored Jul 11, 2024
2 parents eef3f5c + 628b337 commit 7fd2f47
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 7fd2f47

Please sign in to comment.