Skip to content

Commit

Permalink
fixup! feat(cosmos): Next upgrade is agoric-upgrade-17
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 authored Sep 14, 2024
1 parent 5663eac commit 4b23a12
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions golang/cosmos/app/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (

var upgradeNamesOfThisVersion = []string{
"agoric-upgrade-17",
"agorictest-upgrade-17",
}

// isUpgradeNameOfThisVersion returns whether the provided plan name is a
Expand Down Expand Up @@ -46,13 +45,8 @@ func isPrimaryUpgradeName(name string) bool {
return false
}
switch name {
case validUpgradeName("UNRELEASED_BASIC"),
validUpgradeName("UNRELEASED_A3P_INTEGRATION"),
validUpgradeName("UNRELEASED_main"),
validUpgradeName("UNRELEASED_devnet"):
case validUpgradeName("agoric-upgrade-17"):
return true
case validUpgradeName("UNRELEASED_REAPPLY"):
return false
default:
panic(fmt.Errorf("unexpected upgrade name %s", validUpgradeName(name)))
}
Expand Down

0 comments on commit 4b23a12

Please sign in to comment.