Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 22, 2021

Bumps github.com/cosmos/cosmos-sdk from 0.39.3 to 0.42.6.

Release notes

Sourced from github.com/cosmos/cosmos-sdk's releases.

v0.42.6

Cosmos SDK v0.42.6 "Stargate" Release Notes

This release includes various minor bugfixes and improvments, including:

  • x/bank's InitGenesis optimization, which should significantly decrease genesis initialization time,
  • bump Tendermint to v0.34.11 to fix state sync issues,
  • add cosmos_sdk_version to node_info to be able to query the SDK version used by a node,
  • IBC bugfixes and improvements (see below for more info),
  • new fields on sdk.Context (see below for more info).

See the Cosmos SDK v0.42.6 milestone on our issue tracker for the exhaustive list of all changes.

IBC Bugfixes and Improvements

The [appd] query ibc client header is fixed and allows querying by height for the header and node-state command. This allows easier venerability of which IBC tokens belong to which chains. IBC's ExportGenesis now exports all fields, including previously missing NextClientSequence, NextConnectionSequence and NextChannelSequence. A new subcommand [appd] query ibc-transfer escrow-address has been added to get the escrow address for a channel; it can be used to then query balance of escrowed tokens.

New Fields on sdk.Context

Two fields have been added on sdk.Context:

  • ctx.HeaderHash adds the current block header hash obtained during abci.RequestBeginBlock to the Context,
  • ctx.GasMeter().RefundGas(<amount>, <description>) adds support for refunding gas directly to the gas meter.

v0.42.5

Cosmos SDK v0.42.5 "Stargate" Release Notes

This release includes various minor bugfixes and improvments, including:

  • Fix support for building the Cosmos SDK on ARM architectures,
  • Fix the [appd] keys show/list CLI subcommands for multisigs,
  • Internal code performance improvment.

It also introduces one new feature: adding the [appd] config subcommand back to the SDK.

See the Cosmos SDK v0.42.5 milestone on our issue tracker for the exhaustive list of all changes.

The config Subcommand

One new feature introduced in the Stargate series was the merging of the two CLI binaries [appd] and [appcli] into one single application binary. In this process, the [appcli] config subcommand, which was used to save client-side configuration into a TOML file, was removed.

Due to popular demand, we have introduced this feature back to the SDK, under the [appd] config subcommand. The functionality is as follows:

  • [appd] config: Output all client-side configuration.
  • [appd] config [config-name]: Get the given configuration (e.g. keyring-backend or node-id).
  • [appd] config [config-name] [config-value]: Set and persist the given configuration with the new value.

All configurations are persisted to the filesystem, under the path $APP_HOME/config/client.toml. For the list of all possible client-side configurations, please have a look at this client.toml file, as it is heavily commented.

Environment variables binding to client-side configuration also works. For example, the command KEYRING_BACKEND=os [appd] tx bank send ... will bind ENV variable to the keyring-backend config. The order or precedence for config is: flags > env vars > client.toml file.

... (truncated)

Changelog

Sourced from github.com/cosmos/cosmos-sdk's changelog.

v0.42.6 - 2021-06-18

Improvements

  • #9428 Optimize bank InitGenesis. Added k.initBalances.
  • #9429 Add cosmos_sdk_version to node_info
  • #9541 Bump tendermint dependency to v0.34.11.

Bug Fixes

  • #9385 Fix IBC query ibc client header cli command. Support historical queries for query header/node-state commands.
  • #9401 Fixes incorrect export of IBC identifier sequences. Previously, the next identifier sequence for clients/connections/channels was not set during genesis export. This resulted in the next identifiers being generated on the new chain to reuse old identifiers (the sequences began again from 0).
  • #9408 Update simapp to use correct default broadcast mode.
  • #9513 Fixes testnet CLI command. Testnet now updates the supply in genesis. Previously, when using add-genesis-account and testnet together, inconsistent genesis files would be produced, as only add-genesis-account was updating the supply.
  • (x/gov) #8813 fix GET /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits to include initial deposit

Features

  • #9383 New CLI command query ibc-transfer escrow-address <port> <channel id> to get the escrow address for a channel; can be used to then query balance of escrowed tokens
  • (baseapp, types) #\9390 Add current block header hash to Context
  • (store) #9403 Add RefundGas function to GasMeter interface

v0.42.5 - 2021-05-18

Bug Fixes

  • #9514 Fix panic when retrieving the BlockGasMeter on (Re)CheckTx mode.
  • #9235 CreateMembershipProof/CreateNonMembershipProof now returns an error if input key is empty, or input data contains empty key.
  • #9108 Fixed the bug with querying multisig account, which is not showing threshold and public_keys.
  • #9345 Fix ARM support.
  • #9040 Fix ENV variables binding to CLI flags for client config.

Features

  • #8953 Add the config CLI subcommand back to the SDK, which saves client-side configuration in a client.toml file.

v0.42.4 - 2021-04-08

Client Breaking Changes

  • #9026 By default, the tx sign and tx sign-batch CLI commands use SIGN_MODE_DIRECT to sign transactions for local pubkeys. For multisigs and ledger keys, the default LEGACY_AMINO_JSON is used.

Bug Fixes

  • (gRPC) #9015 Fix invalid status code when accessing gRPC endpoints.
  • #9026 Fixed the bug that caused the gentx command to fail for Ledger keys.

Improvements

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/cosmos/cosmos-sdk](https://github.com/cosmos/cosmos-sdk) from 0.39.3 to 0.42.6.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/master/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@v0.39.3...v0.42.6)

---
updated-dependencies:
- dependency-name: github.com/cosmos/cosmos-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 22, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 12, 2021

Superseded by #909.

@dependabot dependabot bot closed this Jul 12, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.42.6 branch July 12, 2021 10:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants