From 2da993039fa78a6818928b8924ee956a72983861 Mon Sep 17 00:00:00 2001 From: John Letey Date: Tue, 21 Nov 2023 09:23:09 +0100 Subject: [PATCH] chore: prepare `v4.0.2` (#282) --- .../bug-fixes/274-distribution-hooks.md | 1 + .changelog/v4.0.1/summary.md | 3 +++ .../improvements/277-tariff-query.md | 0 .changelog/v4.0.2/summary.md | 3 +++ CHANGELOG.md | 20 +++++++++++++++++++ interchaintest/upgrade_noble-1_test.go | 13 ++++++++++++ 6 files changed, 40 insertions(+) create mode 100644 .changelog/v4.0.1/bug-fixes/274-distribution-hooks.md create mode 100644 .changelog/v4.0.1/summary.md rename .changelog/{unreleased => v4.0.2}/improvements/277-tariff-query.md (100%) create mode 100644 .changelog/v4.0.2/summary.md diff --git a/.changelog/v4.0.1/bug-fixes/274-distribution-hooks.md b/.changelog/v4.0.1/bug-fixes/274-distribution-hooks.md new file mode 100644 index 00000000..f892dafb --- /dev/null +++ b/.changelog/v4.0.1/bug-fixes/274-distribution-hooks.md @@ -0,0 +1 @@ +- Unregister `x/distribution` hooks to address consensus failure. ([#274](https://github.com/strangelove-ventures/noble/pull/274)) diff --git a/.changelog/v4.0.1/summary.md b/.changelog/v4.0.1/summary.md new file mode 100644 index 00000000..099b44b4 --- /dev/null +++ b/.changelog/v4.0.1/summary.md @@ -0,0 +1,3 @@ +*Nov 16, 2023* + +This is the first patch release to the v4 Argon line. diff --git a/.changelog/unreleased/improvements/277-tariff-query.md b/.changelog/v4.0.2/improvements/277-tariff-query.md similarity index 100% rename from .changelog/unreleased/improvements/277-tariff-query.md rename to .changelog/v4.0.2/improvements/277-tariff-query.md diff --git a/.changelog/v4.0.2/summary.md b/.changelog/v4.0.2/summary.md new file mode 100644 index 00000000..c26dace5 --- /dev/null +++ b/.changelog/v4.0.2/summary.md @@ -0,0 +1,3 @@ +*Nov 21, 2023* + +This is the second patch release to the v4 Argon line. diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b9ed579..91ebe0a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # CHANGELOG +## v4.0.2 + +*Nov 21, 2023* + +This is the second patch release to the v4 Argon line. + +### IMPROVEMENTS + +- Implement a parameter query for the `x/tariff` module. ([#277](https://github.com/strangelove-ventures/noble/pull/277)) + +## v4.0.1 + +*Nov 16, 2023* + +This is the first patch release to the v4 Argon line. + +### BUG FIXES + +- Unregister `x/distribution` hooks to address consensus failure. ([#274](https://github.com/strangelove-ventures/noble/pull/274)) + ## v4.0.0 *Nov 6, 2023* diff --git a/interchaintest/upgrade_noble-1_test.go b/interchaintest/upgrade_noble-1_test.go index 10dd6a02..c8b637c1 100644 --- a/interchaintest/upgrade_noble-1_test.go +++ b/interchaintest/upgrade_noble-1_test.go @@ -9,6 +9,7 @@ import ( "github.com/strangelove-ventures/interchaintest/v4/chain/cosmos" "github.com/strangelove-ventures/interchaintest/v4/ibc" "github.com/strangelove-ventures/interchaintest/v4/testutil" + tarifftypes "github.com/strangelove-ventures/noble/x/tariff/types" "github.com/stretchr/testify/require" ) @@ -95,6 +96,18 @@ func TestNoble1ChainUpgrade(t *testing.T) { require.Equal(t, numJailed, 1) }, }, + { + // v4.0.2 is a patch release that introduces a new query to the tariff module. + // It is non-consensus breaking, and therefore is applied as a rolling upgrade. + image: nobleImageInfo[0], + postUpgrade: func(t *testing.T, ctx context.Context, noble *cosmos.CosmosChain, paramAuthority ibc.Wallet) { + raw, _, err := noble.Validators[0].ExecQuery(ctx, "tariff", "params") + require.NoError(t, err) + + var res tarifftypes.QueryParamsResponse + require.NoError(t, json.Unmarshal(raw, &res)) + }, + }, } testNobleChainUpgrade(t, "noble-1", genesis, denomMetadataFrienzies, numValidators, numFullNodes, upgrades)