From 018f9e1a1d37bf7e8be50ad17516875c81cf416b Mon Sep 17 00:00:00 2001 From: Alex | Interchain Labs Date: Mon, 28 Apr 2025 11:00:56 -0400 Subject: [PATCH] chore: prep client/v2 for release (#24540) --- client/v2/CHANGELOG.md | 18 +++--- .../v2/autocli/testdata/help-echo-msg.golden | 56 +++++++++---------- client/v2/go.mod | 2 - client/v2/go.sum | 2 + 4 files changed, 39 insertions(+), 39 deletions(-) diff --git a/client/v2/CHANGELOG.md b/client/v2/CHANGELOG.md index e7a884de76..42a481f8de 100644 --- a/client/v2/CHANGELOG.md +++ b/client/v2/CHANGELOG.md @@ -34,7 +34,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ # Changelog -## [Unreleased] +## [v2.0.0-beta.9](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.9) - 2025-04-24 ### Features @@ -49,17 +49,17 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (cli) [#24330](https://github.com/cosmos/cosmos-sdk/pull/24330) Use the gogoproto merge registry as a file resolver instead of the interface registry. * [#21853](https://github.com/cosmos/cosmos-sdk/pull/21853) Fix `*big.Int` unmarshalling in txs. -## [v2.0.0-beta.8] - 2025-01-29 +## [v2.0.0-beta.8](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.8) - 2025-01-29 * [#23544](https://github.com/cosmos/cosmos-sdk/pull/23544) Support map in queries for autocli. -## [v2.0.0-beta.7] - 2024-12-10 +## [v2.0.0-beta.7](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.7) - 2024-12-10 ### Bug Fixes * [#22817](https://github.com/cosmos/cosmos-sdk/pull/22817) Add DecCoin support in autocli flag builder. -## [v2.0.0-beta.6] - 2024-11-21 +## [v2.0.0-beta.6](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.6) - 2024-11-21 ### Improvements @@ -71,13 +71,13 @@ Ref: https://keepachangelog.com/en/1.0.0/ * [#21809](https://github.com/cosmos/cosmos-sdk/pull/21809) Correctly handle enhanced sub commands. * [#22576](https://github.com/cosmos/cosmos-sdk/pull/22576) Fix duplicate command addition in `autocli` when custom enhanced command has a different name than module name -## [v2.0.0-beta.5] - 2024-09-18 +## [v2.0.0-beta.5](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.5) - 2024-09-18 ### Improvements * [#21936](https://github.com/cosmos/cosmos-sdk/pull/21936) Print possible enum values in error message after an invalid input was provided. -## [v2.0.0-beta.4] - 2024-07-16 +## [v2.0.0-beta.4](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.4) - 2024-07-16 ### Improvements @@ -87,13 +87,13 @@ Ref: https://keepachangelog.com/en/1.0.0/ * [#20964](https://github.com/cosmos/cosmos-sdk/pull/20964) Fix `GetNodeHomeDirectory` helper in `client/v2/helpers` to respect the `(PREFIX)_HOME` environment variable. -## [v2.0.0-beta.3] - 2024-07-15 +## [v2.0.0-beta.3](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.3) - 2024-07-15 ### Features * [#20771](https://github.com/cosmos/cosmos-sdk/pull/20771) Add `GetNodeHomeDirectory` helper in `client/v2/helpers`. -## [v2.0.0-beta.2] - 2024-06-19 +## [v2.0.0-beta.2](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.2) - 2024-06-19 ### Features @@ -122,7 +122,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * [#19646](https://github.com/cosmos/cosmos-sdk/pull/19646) Remove keyring from `autocli.AppOptions` and `flag.Builder` options. -## [v2.0.0-beta.1] - 2023-11-07 +## [v2.0.0-beta.1](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.1) - 2023-11-07 This is the first tagged version of client/v2. It depends on the Cosmos SDK v0.50 release and fully supports AutoCLI. diff --git a/client/v2/autocli/testdata/help-echo-msg.golden b/client/v2/autocli/testdata/help-echo-msg.golden index 674586b4b2..427c36682b 100644 --- a/client/v2/autocli/testdata/help-echo-msg.golden +++ b/client/v2/autocli/testdata/help-echo-msg.golden @@ -4,31 +4,31 @@ Usage: test send [from_key_or_address] [to_address] [amount] [flags] Flags: - -a, --account-number uint The account number of the signing account (offline mode only) - --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async) (default "sync") - --chain-id string The network chain ID - --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) - --fee-granter string Fee granter grants fees for the transaction - --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer - --fees string Fees to pay along with transaction; eg: 10uatom - --from string Name or address of private key with which to sign - --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) - --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) - --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) - --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) - -h, --help help for send - --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "os") - --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used - --ledger Use a connected Ledger device - --node string : to CometBFT rpc interface for this chain (default "tcp://localhost:26657") - --note string Note to add a description to the transaction (previously --memo) - --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) (default "json") - -s, --sequence uint The sequence number of the signing account (offline mode only) - --sign-mode string Choose sign mode (direct|amino-json|direct-aux|textual), this is an advanced feature - --timeout-duration duration TimeoutDuration is the duration the transaction will be considered valid in the mempool. The transaction's unordered nonce will be set to the time of transaction creation + the duration value passed. If the transaction is still in the mempool, and the block time has passed the time of submission + TimeoutTimestamp, the transaction will be rejected. - --timeout-height uint DEPRECATED: Please use --timeout-duration instead. Set a block timeout height to prevent the tx from being committed past a certain height - --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator - --unordered Enable unordered transaction delivery; must be used in conjunction with --timeout-duration - -y, --yes Skip tx broadcasting prompt confirmation + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) (default "sync") + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for send + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "os") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to CometBFT rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux|textual), this is an advanced feature + --timeout-height uint DEPRECATED: Please use --timeout-timestamp instead. Set a block timeout height to prevent the tx from being committed past a certain height + --timeout-timestamp int Set a block timeout timestamp to prevent the tx from being committed past a certain time + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + --unordered Enable unordered transaction delivery; must be used in conjunction with --timeout-timestamp + -y, --yes Skip tx broadcasting prompt confirmation diff --git a/client/v2/go.mod b/client/v2/go.mod index ccf1a55c10..0a0005e39a 100644 --- a/client/v2/go.mod +++ b/client/v2/go.mod @@ -2,8 +2,6 @@ module cosmossdk.io/client/v2 go 1.23.2 -replace github.com/cosmos/cosmos-sdk => ../.. - require ( cosmossdk.io/api v0.9.0 cosmossdk.io/core v0.11.3 diff --git a/client/v2/go.sum b/client/v2/go.sum index dcc5bffc1a..6ee709ee7b 100644 --- a/client/v2/go.sum +++ b/client/v2/go.sum @@ -151,6 +151,8 @@ github.com/cosmos/cosmos-db v1.1.1 h1:FezFSU37AlBC8S98NlSagL76oqBRWq/prTPvFcEJNC github.com/cosmos/cosmos-db v1.1.1/go.mod h1:AghjcIPqdhSLP/2Z0yha5xPH3nLnskz81pBx3tcVSAw= github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA= github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec= +github.com/cosmos/cosmos-sdk v0.53.0-rc.4 h1:05dIPOlhrhmG2REKiO3d5f7GKiwKHsPAsEk5AzCKsI0= +github.com/cosmos/cosmos-sdk v0.53.0-rc.4/go.mod h1:YO+j/mhuP+AGvDpGuK2+oVKyF7QMl3iMZX4LEP+HYd4= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE=