Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/cosmos/cosmos-sdk from 0.40.0-rc5 to 0.40.1 #514

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-rc5 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.

v0.40.0

Cosmos SDK v0.40.0 "Stargate"

... (truncated)

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

v0.40.0 - 2021-01-08

v0.40.0, known as the Stargate release of the Cosmos SDK, is one of the largest releases of the Cosmos SDK since launch. Please read through this changelog and release notes to make sure you are aware of any relevant breaking changes.

Client Breaking Changes

  • Modules

  • CLI

    • (client/keys) #5889 remove keys update command.
    • (x/auth) #5844 tx sign command now returns an error when signing is attempted with offline/multisig keys.
    • (x/auth) #6108 tx sign command's --validate-signatures flag is migrated into a tx validate-signatures standalone command.
    • (x/auth) #7788 Remove tx auth subcommands, all auth subcommands exist as tx <subcommand>
    • (x/genutil) #6651 The gentx command has been improved. No longer are --from and --name flags required. Instead, a single argument, name, is required which refers to the key pair in the Keyring. In addition, an optional --moniker flag can be provided to override the moniker found in config.toml.
    • (x/upgrade) #7697 Rename flag name "--time" to "--upgrade-time", "--info" to "--upgrade-info", to keep it consistent with help message.
  • REST / Queriers

    • (api) #6426 The ability to start an out-of-process API REST server has now been removed. Instead, the API server is now started in-process along with the application and Tendermint. Configuration options have been added to app.toml to enable/disable the API server along with additional HTTP server options.
    • (client) #7246 The rest server endpoint /swagger-ui/ is replaced by /swagger/, and contains swagger documentation for gRPC Gateway routes in addition to legacy REST routes. Swagger API is exposed only if set in app.toml.
    • (x/auth) #5702 The x/auth querier route has changed from "acc" to "auth".
    • (x/bank) #5572 The /bank/balances/{address} endpoint now returns all account balances or a single balance by denom when the denom query parameter is present.
    • (x/evidence) #5952 Remove CLI and REST handlers for querying x/evidence parameters.
    • (x/gov) #6295 Fix typo in querying governance params.
  • General

    • (baseapp) #6384 The Result.Data is now a Protocol Buffer encoded binary blob of type TxData. The TxData contains Data which contains a list of Protocol Buffer encoded message data and the corresponding message type.
    • (client) #5783 Unify all coins representations on JSON client requests for governance proposals.
    • (crypto) #7419 The SDK doesn't use Tendermint's crypto.PubKey interface anymore, and uses instead it's own PubKey interface, defined in crypto/types. Replace all instances of

... (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)

@codecov-io
Copy link

Codecov Report

Merging #514 (4cac2d7) into master (53a2d5d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #514   +/-   ##
======================================
  Coverage    8.77%   8.77%           
======================================
  Files          39      39           
  Lines        3316    3316           
======================================
  Hits          291     291           
  Misses       3000    3000           
  Partials       25      25           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53a2d5d...4cac2d7. Read the comment docs.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.40.1 branch from 4cac2d7 to 3a6da6b Compare January 20, 2021 12:16
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2021

Superseded by #526.

@dependabot dependabot bot closed this Jan 27, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.40.1 branch January 27, 2021 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant