Skip to content

Commit

Permalink
chore: cleanup post v3.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Sep 16, 2023
1 parent fcb702c commit a8141a6
Show file tree
Hide file tree
Showing 14 changed files with 102 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
project_url = "https://github.com/strangelove-ventures/noble"
5 changes: 5 additions & 0 deletions .changelog/epilogue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---

## Previous Changes

This changelog has yet to be fully initialized. For previous verions please refer to the release notes for a summary of changes.
Empty file added .changelog/unreleased/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions .changelog/unreleased/features/215-rosetta-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Support for Coinbase's [Rosetta API](https://docs.cloud.coinbase.com/rosetta/docs/welcome). ([#215](https://github.com/strangelove-ventures/noble/pull/215))
1 change: 1 addition & 0 deletions .changelog/v3.1.0/features/235-ibc-authority.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Include support for IBC inside the ParamAuthority. ([#235](https://github.com/strangelove-ventures/noble/pull/235))
1 change: 1 addition & 0 deletions .changelog/v3.1.0/improvements/234-module-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Align module path with Go's [naming convention](https://go.dev/doc/modules/version-numbers#major-version). ([#234](https://github.com/strangelove-ventures/noble/pull/234))
5 changes: 5 additions & 0 deletions .changelog/v3.1.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*Sep 15, 2023*

This is a minor release to the v3 Radon line.

In response to multiple IBC channels expiring on Noble's mainnet network, it was decided to expand the functionality of Noble's Maintenance Multisig to include IBC upgrade functionality (allowing expired clients to be changed).
8 changes: 8 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ pull_request_rules:
backport:
branches:
- release/v3.0.x
- name: backport patches to v3.1.x branch
conditions:
- base=main
- label=backport/v3.1.x
actions:
backport:
branches:
- release/v3.1.x
- name: backport patches to v4.0.x branch
conditions:
- base=main
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# CHANGELOG

## v3.1.0

*Sep 15, 2023*

This is a minor release to the v3 Radon line.

In response to multiple IBC channels expiring on Noble's mainnet network, it was decided to expand the functionality of Noble's Maintenance Multisig to include IBC upgrade functionality (allowing expired clients to be changed).

### FEATURES

- Include support for IBC inside the ParamAuthority. ([#235](https://github.com/strangelove-ventures/noble/pull/235))

### IMPROVEMENTS

- Align module path with Go's [naming convention](https://go.dev/doc/modules/version-numbers#major-version). ([#234](https://github.com/strangelove-ventures/noble/pull/234))

---

## Previous Changes

This changelog has yet to be fully initialized. For previous verions please refer to the release notes for a summary of changes.

11 changes: 11 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ import (
"github.com/strangelove-ventures/noble/app/upgrades/argon"
"github.com/strangelove-ventures/noble/app/upgrades/neon"
"github.com/strangelove-ventures/noble/app/upgrades/radon"
v3m1p0 "github.com/strangelove-ventures/noble/app/upgrades/v3.1.0"
"github.com/strangelove-ventures/noble/cmd"
"github.com/strangelove-ventures/noble/docs"
"github.com/strangelove-ventures/noble/x/blockibc"
Expand Down Expand Up @@ -866,6 +867,14 @@ func (app *App) setupUpgradeHandlers() {
app.FiatTokenFactoryKeeper,
))

// v3.1.0 upgrade
app.UpgradeKeeper.SetUpgradeHandler(
v3m1p0.UpgradeName,
v3m1p0.CreateUpgradeHandler(
app.mm,
app.configurator,
))

// argon upgrade
app.UpgradeKeeper.SetUpgradeHandler(
argon.UpgradeName,
Expand All @@ -890,6 +899,8 @@ func (app *App) setupUpgradeHandlers() {
storeLoader = neon.CreateStoreLoader(upgradeInfo.Height)
case radon.UpgradeName:
storeLoader = radon.CreateStoreLoader(upgradeInfo.Height)
case v3m1p0.UpgradeName:
storeLoader = v3m1p0.CreateStoreLoader(upgradeInfo.Height)
case argon.UpgradeName:
storeLoader = argon.CreateStoreLoader(upgradeInfo.Height)
}
Expand Down
6 changes: 6 additions & 0 deletions app/upgrades/v3.1.0/constants.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package v3m1p0

const (
// UpgradeName is the name of this specific software upgrade used on-chain.
UpgradeName = "v3.1.0"
)
15 changes: 15 additions & 0 deletions app/upgrades/v3.1.0/store.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package v3m1p0

import (
"github.com/cosmos/cosmos-sdk/baseapp"
storeTypes "github.com/cosmos/cosmos-sdk/store/types"

// Upgrade
upgradeTypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader {
storeUpgrades := storeTypes.StoreUpgrades{}

return upgradeTypes.UpgradeStoreLoader(upgradeHeight, &storeUpgrades)
}
16 changes: 16 additions & 0 deletions app/upgrades/v3.1.0/upgrade.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package v3m1p0

import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
upgradeTypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

func CreateUpgradeHandler(
mm *module.Manager,
cfg module.Configurator,
) upgradeTypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradeTypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
return mm.RunMigrations(ctx, cfg, vm)
}
}
8 changes: 8 additions & 0 deletions interchaintest/upgrade_noble-1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ func TestNoble1ChainUpgrade(t *testing.T) {
},
postUpgrade: testPostRadonUpgrade,
},
{
upgradeName: "v3.1.0",
image: ibc.DockerImage{
Repository: "ghcr.io/strangelove-ventures/noble",
Version: "v3.1.0",
UidGid: containerUidGid,
},
},
{
upgradeName: "argon",
image: nobleImageInfo[0],
Expand Down

0 comments on commit a8141a6

Please sign in to comment.