Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Bump github.com/cosmos/cosmos-sdk from 0.40.0 to 0.40.1 #42

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2021

Bumps github.com/cosmos/cosmos-sdk from 0.40.0 to 0.40.1.

Release notes

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

v0.40.1

Cosmos SDK v0.40.1 "Stargate Series" Release Notes

This is a bug fix release to the Cosmos SDK 0.40 "Stargate" release series. No breaking changes are introduced, thus no migration should be needed. Among the various bugfixes, this release introduces important security patches.

See the Cosmos SDK v0.40.1 milestone on our issue tracker for details.

Gogo protobuf security release

Gogoprotobuf released a bugfix addressing CVE-2021-3121. Cosmos SDK respective dependency has been updated and protobuf generated files were regenerated.

Tendermint security patches

This release comes with a newer release of Tendermint that, other than fixing various bugs it also addresses a high-severity security vulnerability. For the comprehensive list of changes introduced by Tendermint since Cosmos SDK v0.40.0, please refer to Tendermint's v0.34.3 release notes.

Fix zero time checks

In Cosmos SDK applications, it is recommended to use Time.Unix() <= 0 instead of Time.IsZero(), which may lead to unexpected results. See #8085 for more information.

Querying upgrade plans panics when no plan exists

The x/upgrade module command and REST endpoints for querying upgrade plans would panic when no plan existed. This is now resolved.

Fix account sequence

In Cosmos SDK v0.40.0 a new structure (SignatureV2) for handling message signatures was introduced. Although the tx sign --signature-only command was still capable of generating correct signatures, it was not returning the account's correct sequence number.

Reproducible builds

Our automatic builds were not working correctly due to small gaps in file paths. Fixed in \8300 and \8301.

Wrapper errors were not reflective

Cosmos SDK errors typically support the Is() method. The Go errors.Is() function compares an error to a value and should always return true when the receiver is passed as an argument to its own method, e.g. err.Is(err). This was not a case for the error types provided by the types/errors package.

Fix latest consensus state

Errors occur when using the client to send IBC transactions without flag --absolute-timeouts, e.g:

gaiad tx ibc-transfer transfer

The issue was caused by incorrect interface decoding and unpacking of Any values and is now fixed.

Changelog

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

v0.40.1 - 2021-01-19

Improvements

  • (x/bank) #8302 Add gRPC and CLI queries for client denomination metadata.
  • (tendermint) Bump Tendermint version to v0.34.3.

Bug Fixes

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.40.0 to 0.40.1.
- [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.40.0...v0.40.1)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 20, 2021
@shanev shanev merged commit 4d2abfb into master Jan 20, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.40.1 branch January 20, 2021 16:44
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant