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

Bump github.com/cosmos/cosmos-sdk from 0.40.0-rc7 to 0.40.0 #370

Conversation

dependabot-preview[bot]
Copy link
Contributor

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

Release notes

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

v0.40.0

Cosmos SDK v0.40.0 "Stargate"

This release introduces several new important updates to the Cosmos SDK. The release notes below provide an overview of the larger high-level changes introduced in the v0.40 (aka Stargate) release series.

That being said, this release does contain many more minor and module-level changes besides those mentioned below. For a comprehsive list of all breaking changes and improvements since the v0.39 release series, please see the changelog.

Protocol Buffer Migration

Stargate introduces protocol buffers as the new standard serialization format for blockchain state & wire communication within the Cosmos SDK. Protobuf definitions are organized into packages that mirror Cosmos SDK modules in the new ./proto directory of the SDK repo.

For an overview of the SDK's usage of protocol buffers, please look at the following ADRs and meta-issues which tracked the corresponding work:

As a high level summary these represent the following major changes to the SDK:

  • New protocol buffer based encoding for all blockchain state (direct queries to tendermint now return protobuf binary encoded data, as opposed to Amino encoded data)
  • New transaction signing path implemented according to ADR020 above
  • Two new querier APIs (see #5921 for details)
    • Support for new gRPC based querier services
    • gRPC Gateway for REST querying corresponding to the new gRPC querier services

For details on how to upgrade Cosmos SDK based apps and modules to Stargate, please see App and Modules Migration in the Cosmos SDK docs.

Note: Existing Amino REST endpoints are all preserved, though they are planned to be deprecated in a future release.

Inter Blockchain Communication (IBC)

The x/ibc module is now available and ready for use. High level IBC documentation is available at docs.cosmos.network. For more details check the the module documentation in the x/ibc/core/spec directory, or the ICS specs below:

Changelog

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

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

  • 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 crypto.PubKey by cryptotypes.Pubkey.
    • (store/rootmulti) #6390 Proofs of empty stores are no longer supported.
    • (store/types) #5730 store.types.Cp() is removed in favour of types.CopyBytes().
    • (x/auth) #6054 Remove custom JSON marshaling for base accounts as multsigs cannot be bech32 decoded.
    • (x/auth/vesting) #6859 Custom JSON marshaling of vesting accounts was removed. Vesting accounts are now marshaled using their default proto or amino JSON representation.
    • (x/bank) #5785 In x/bank errors, JSON strings coerced to valid UTF-8 bytes at JSON marshalling time are now replaced by human-readable expressions. This change can potentially break compatibility with all those client side tools that parse log messages.
    • (x/evidence) #7538 The ABCI's Result.Data field for MsgSubmitEvidence responses does not contain the raw evidence's hash, but the protobuf encoded MsgSubmitEvidenceResponse struct.
    • (x/gov) #7533 The ABCI's Result.Data field for MsgSubmitProposal responses does not contain a raw binary encoding of the proposalID, but the protobuf encoded MsgSubmitSubmitProposalResponse struct.
    • (x/gov) #6859 ProposalStatus and VoteOption are now JSON serialized using its protobuf name, so expect names like PROPOSAL_STATUS_DEPOSIT_PERIOD as opposed to DepositPeriod.
    • (x/staking) #7499 BondStatus is now a protobuf enum instead of an int32, and JSON serialized using its protobuf name, so expect names like BOND_STATUS_UNBONDING as opposed to Unbonding.
    • (x/staking) #7556 The ABCI's Result.Data field for MsgBeginRedelegate and MsgUndelegate responses does not contain custom binary marshaled completionTime, but the protobuf encoded MsgBeginRedelegateResponse and MsgUndelegateResponse structs respectively
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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 11, 2021
@alpe
Copy link
Contributor

alpe commented Jan 11, 2021

Done in #369

@alpe alpe closed this Jan 11, 2021
@dependabot-preview
Copy link
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@alpe alpe deleted the dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.40.0 branch January 11, 2021 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant