diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a60b4264..2fa15b1e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +# 1.14.0 + +- Fix CWA-2024-005 +- Bump ledger-cosmos-go from v0.12.2 to v0.12.4 + # 1.13.0 - Support DCAP attestation diff --git a/app/app.go b/app/app.go index e4cc36d9b..294abcfed 100644 --- a/app/app.go +++ b/app/app.go @@ -36,6 +36,7 @@ import ( v1_11 "github.com/scrtlabs/SecretNetwork/app/upgrades/v1.11" v1_12 "github.com/scrtlabs/SecretNetwork/app/upgrades/v1.12" v1_13 "github.com/scrtlabs/SecretNetwork/app/upgrades/v1.13" + v1_14 "github.com/scrtlabs/SecretNetwork/app/upgrades/v1.14" v1_3 "github.com/scrtlabs/SecretNetwork/app/upgrades/v1.3" v1_4 "github.com/scrtlabs/SecretNetwork/app/upgrades/v1.4" v1_5 "github.com/scrtlabs/SecretNetwork/app/upgrades/v1.5" @@ -109,6 +110,7 @@ var ( v1_11.Upgrade, v1_12.Upgrade, v1_13.Upgrade, + v1_14.Upgrade, } ) diff --git a/app/upgrades/v1.14/upgrade.go b/app/upgrades/v1.14/upgrade.go new file mode 100644 index 000000000..9c6847123 --- /dev/null +++ b/app/upgrades/v1.14/upgrade.go @@ -0,0 +1,36 @@ +package v1_14 + +import ( + "fmt" + + store "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/scrtlabs/SecretNetwork/app/keepers" + "github.com/scrtlabs/SecretNetwork/app/upgrades" +) + +const upgradeName = "v1.14" + +var Upgrade = upgrades.Upgrade{ + UpgradeName: upgradeName, + CreateUpgradeHandler: createUpgradeHandler, + StoreUpgrades: store.StoreUpgrades{}, +} + +func createUpgradeHandler(mm *module.Manager, _ *keepers.SecretAppKeepers, configurator module.Configurator, +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + ctx.Logger().Info(` _ _ _____ _____ _____ _____ ______ `) + ctx.Logger().Info(`| | | | __ \ / ____| __ \ /\ | __ \| ____|`) + ctx.Logger().Info(`| | | | |__) | | __| |__) | / \ | | | | |__ `) + ctx.Logger().Info(`| | | | ___/| | |_ | _ / / /\ \ | | | | __| `) + ctx.Logger().Info(`| |__| | | | |__| | | \ \ / ____ \| |__| | |____ `) + ctx.Logger().Info(` \____/|_| \_____|_| \_\/_/ \_\_____/|______|`) + + ctx.Logger().Info(fmt.Sprintf("Running module migrations for %s...", upgradeName)) + + return mm.RunMigrations(ctx, configurator, vm) + } +} diff --git a/client/docs/config.json b/client/docs/config.json index 13701dd8f..2353ad9a3 100644 --- a/client/docs/config.json +++ b/client/docs/config.json @@ -3,7 +3,7 @@ "info": { "title": "Secret Network", "description": "A REST interface for queries and transactions", - "version": "v1.12" + "version": "v1.14" }, "apis": [ { diff --git a/client/docs/static/openapi/index.html b/client/docs/static/openapi/index.html index a17f966de..37f6d72a2 100644 --- a/client/docs/static/openapi/index.html +++ b/client/docs/static/openapi/index.html @@ -2146,7 +2146,7 @@ 55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864 -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688, -104.0616 -231.873,-231.248 z - " fill="currentColor">