Skip to content

Commit

Permalink
feat: introduce the Savanna upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Nov 6, 2024
1 parent e9a7dda commit 708c5e7
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,
// todo: height
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,
// todo: height
Info: "Savanna hardfork",
})
)

Expand Down

0 comments on commit 708c5e7

Please sign in to comment.