Skip to content

Commit

Permalink
tvx: add missing network upgrade names.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed Jan 24, 2022
1 parent 85447ab commit 3aab77a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/tvx/codenames.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ var ProtocolCodenames = []struct {
{build.UpgradeTapeHeight + 1, "tape"},
{build.UpgradeLiftoffHeight + 1, "liftoff"},
{build.UpgradeKumquatHeight + 1, "postliftoff"},
{build.UpgradeCalicoHeight + 1, "calico"},
{build.UpgradePersianHeight + 1, "persian"},
{build.UpgradeOrangeHeight + 1, "orange"},
{build.UpgradeTrustHeight + 1, "trust"},
{build.UpgradeNorwegianHeight + 1, "norwegian"},
{build.UpgradeTurboHeight + 1, "turbo"},
{build.UpgradeHyperdriveHeight + 1, "hyperdrive"},
{build.UpgradeChocolateHeight + 1, "chocolate"},
{build.UpgradeOhSnapHeight + 1, "ohsnap"},
}

// GetProtocolCodename gets the protocol codename associated with a height.
Expand Down

0 comments on commit 3aab77a

Please sign in to comment.