Skip to content

Commit

Permalink
feat: introduce the Savanna upgrade (#466)
Browse files Browse the repository at this point in the history
* feat: introduce the Savanna upgrade

* feat: add hardfork height

feat: update height

* feat: update upgrade height

---------

Co-authored-by: annielz <[email protected]>
  • Loading branch information
forcodedancing and annielz authored Nov 21, 2024
1 parent e9a7dda commit 5ea6332
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 @@ -38,4 +38,7 @@ const (

// Altai is the upgrade name for Altai upgrade
Altai = "Altai"

// Savanna is the upgrade name for Savanna upgrade
Savanna = "Savanna"
)
11 changes: 11 additions & 0 deletions x/upgrade/types/upgrade_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ const (

// Altai is the upgrade name for Altai upgrade
Altai = types.Altai

// Savanna is the upgrade name for Savanna upgrade
Savanna = types.Savanna
)

// The default upgrade config for networks
Expand Down Expand Up @@ -97,6 +100,10 @@ var (
Name: Altai,
Height: 11917971,
Info: "Altai hardfork",
}).SetPlan(&Plan{
Name: Savanna,
Height: 14667574,
Info: "Savanna hardfork",
})

TestnetChainID = "greenfield_5600-1"
Expand Down Expand Up @@ -148,6 +155,10 @@ var (
Name: Altai,
Height: 12513708,
Info: "Altai hardfork",
}).SetPlan(&Plan{
Name: Savanna,
Height: 14691233,
Info: "Savanna hardfork",
})
)

Expand Down

0 comments on commit 5ea6332

Please sign in to comment.