From 9b656f29f579f0be36fb82623ce6c4d43f6a1a50 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Thu, 10 Aug 2023 10:56:45 +0200 Subject: [PATCH] chore: retract v0.21.x line (#812) (cherry picked from commit c364b65d703aff5293256dfa06de1705562fc4c7) --- .mergify.yaml | 8 -------- README.md | 3 ++- export_test.go | 2 +- go.mod | 7 ++++++- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.mergify.yaml b/.mergify.yaml index 77a8e06d6..288d8aba0 100644 --- a/.mergify.yaml +++ b/.mergify.yaml @@ -32,14 +32,6 @@ pull_request_rules: backport: branches: - release/v0.20.x - - name: backport patches to v0.21.x branch - conditions: - - base=master - - label=backport/v0.21.x - actions: - backport: - branches: - - release/v0.21.x - name: backport patches to v1.x branch conditions: - base=master diff --git a/README.md b/README.md index db51d38e1..419830196 100644 --- a/README.md +++ b/README.md @@ -27,5 +27,6 @@ In Ethereum, the analog is [Patricia tries](http://en.wikipedia.org/wiki/Radix_t | -------------------------------------------------------------- | -------------------------------------------------------- | ---------------- | | [v0.19.x](https://github.com/cosmos/iavl/tree/release/v0.19.x) | [`tm-db`](https://github.com/tendermint/tm-db) | v0.45.x, v0.46.x | | [v0.20.x](https://github.com/cosmos/iavl/tree/release/v0.20.x) | [`cometbft-db`](https://github.com/cometbft/cometbft-db) | v0.47.x | -| [v0.21.x](https://github.com/cosmos/iavl/tree/release/v0.21.x) | [`cosmos-db`](https://github.com/cosmos/cosmos-db) | - | | [v1.x.x](https://github.com/cosmos/iavl/tree/release/v1.x.x) | [`cosmos-db`](https://github.com/cosmos/cosmos-db) | - | + +NOTE: In the past, a v0.21.x release was published, but never used in production. It was retracted to avoid confusion. diff --git a/export_test.go b/export_test.go index 12deb780a..af25aa799 100644 --- a/export_test.go +++ b/export_test.go @@ -126,7 +126,7 @@ func setupExportTreeRandom(t *testing.T) *ImmutableTree { // setupExportTreeSized sets up a single-version tree with a given number // of randomly generated key/value pairs, useful for benchmarking. -func setupExportTreeSized(t require.TestingT, treeSize int) *ImmutableTree { //nolint:unparam +func setupExportTreeSized(t require.TestingT, treeSize int) *ImmutableTree { const ( randSeed = 49872768940 // For deterministic tests keySize = 16 diff --git a/go.mod b/go.mod index d72e896d5..6f20d2ddf 100644 --- a/go.mod +++ b/go.mod @@ -48,4 +48,9 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -retract v0.18.0 +retract ( + v0.18.0 + // This version is not used by the Cosmos SDK and adds a maintenance burden. + // Use v1.x.x instead. + [v0.21.0, v0.21.2] +)