Skip to content

Commit

Permalink
feat: set up hardfork height and add CHANGELOG.md (#449)
Browse files Browse the repository at this point in the history
* release: veld upgrade

* release: release v1.8.0
  • Loading branch information
BarryTong65 authored May 27, 2024
1 parent 3f99515 commit 48d116d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## V1.8.0
This release introduces the Veld upgrade

## V1.7.0
This release introduces the Erdos upgrade

Expand Down
3 changes: 3 additions & 0 deletions types/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ const (

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

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

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

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

// The default upgrade config for networks
Expand Down Expand Up @@ -76,6 +79,10 @@ var (
Name: Erdos,
Height: 7861456,
Info: "Erdos hardfork",
}).SetPlan(&Plan{
Name: Veld,
Height: 9030588,
Info: "Veld hardfork",
})

TestnetChainID = "greenfield_5600-1"
Expand Down Expand Up @@ -115,6 +122,10 @@ var (
Name: Erdos,
Height: 8116724,
Info: "Erdos hardfork",
}).SetPlan(&Plan{
Name: Veld,
Height: 9379516,
Info: "Veld hardfork",
})
)

Expand Down

0 comments on commit 48d116d

Please sign in to comment.