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.47.5 to 0.50.1 #1413

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 13, 2023

Bumps github.com/cosmos/cosmos-sdk from 0.47.5 to 0.50.1.

Release notes

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

Eden (v0.50)

Official Release Announcement

💬 Release Discussion

🚀 Highlights

Cosmos SDK v0.50 is a major release that includes a number of significant new features and improvements. These new features and improvements will make Cosmos SDK applications more performant, scalable, and secure. They will also make it easier for developers to create and integrate new modules into the Cosmos SDK ecosystem.

  • ABCI 2.0 Integration: Cosmos SDK v0.50 upgrades to CometBFT v0.38 and fully implements ABCI 2.0.
  • Optimistic Execution: Cosmos SDK v0.50 introduces Optimistic Execution, which allows transactions to be executed and committed without waiting for confirmation from all validators. This can significantly improve the performance of chains with a high volume of transactions.
  • Modular SDK modules: Cosmos SDK v0.50 starts to extract core modules away from the SDK. These are separately versioned and follow their own release cadence.
  • IAVL v1: Cosmos SDK v0.50 upgrades the IAVL tree implementation to v1, which provides a number of performance and security improvements.
  • AutoCLI: Cosmos SDK v0.50 introduces AutoCLI, a library that makes it easier to create CLI commands for SDK applications.
  • Sign Mode Textual: Cosmos SDK v0.50 introduces a new sign mode that for hardware devices, as a replacement of Amino JSON.
  • Less boilerplate: Cosmos SDK v0.50 requires less boilerplate in general for modules code and applications. Be sure to read the UPGRADING.md to take advantage of these improvements.

ABCI 2.0

Cosmos SDK v0.50 upgrades CometBFT to CometBFT v0.38.0 and integrates ABCI 2.0 semantics. Modules still follow ABCI 1.0 semantics (BeginBlock, EndBlock).

For instance, applications can now support Vote Extensions.

Optimistic Execution

Cosmos SDK v0.50 introduces Optimistic Execution, which allows transactions to be executed and committed without waiting for confirmation from all validators. This can significantly improve the performance of chains with a high volume of transactions.

Optimistic Execution leverages ABCI 2.0, and is disabled by default. To enable it add baseapp.SetOptimisticExecution() to your baseapp options in your app.go.

SDK modules

Cosmos SDK v0.50 starts to extract core modules away from the SDK. These are separately versioned and follow their own release cadence.

It starts with x/evidence, x/feegrant, x/nft, and x/upgrade,

Additionally, SDK v0.50 introduces a new core module, x/circuit that provides a circuit breaker for the SDK. Read more about it in the module documentation.

Lastly, x/capability module has moved to the IBC repo and is now maintained by the IBC team.

The further decoupling of other core modules is planned for the next release.

Store v1 and IAVL v1

Cosmos SDK v0.50 has decoupled its store from the SDK. The store is now versioned separately and follows its own release cadence.

Store v1 upgrades the IAVL tree implementation to v1. IAVL v1 provides a number of performance improvements. Read more about it in the IAVL repo.

AutoCLI

... (truncated)

Changelog

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

v0.50.1 - 2023-11-07

v0.50.0 has been retracted due to a mistake in tagging the release. Please use v0.50.1 instead.

Features

  • (baseapp) #18071 Add hybrid handlers to MsgServiceRouter.
  • (server) #18162 Start gRPC & API server in standalone mode.
  • (baseapp & types) #17712 Introduce PreBlock, which runs before begin blocker other modules, and allows to modify consensus parameters, and the changes are visible to the following state machine logics. Additionally it can be used for vote extensions.
  • (genutil) #17571 Allow creation of AppGenesis without a file lookup.
  • (codec) #17042 Add CollValueV2 which supports encoding of protov2 messages in collections.
  • (x/gov) #16976 Add failed_reason field to Proposal under x/gov to indicate the reason for a failed proposal. Referenced from #238 under bnb-chain/greenfield-cosmos-sdk.
  • (baseapp) #16898 Add preFinalizeBlockHook to allow vote extensions persistence.
  • (cli) #16887 Add two new CLI commands: <appd> tx simulate for simulating a transaction; <appd> query block-results for querying CometBFT RPC for block results.
  • (x/bank) #16852 Add DenomMetadataByQueryString query in bank module to support metadata query by query string.
  • (baseapp) #16581 Implement Optimistic Execution as an experimental feature (not enabled by default).
  • (types) #16257 Allow setting the base denom in the denom registry.
  • (baseapp) #16239 Add Gas Limits to allow node operators to resource bound queries.
  • (cli) #16209 Make StartCmd more customizable.
  • (types/simulation) #16074 Add generic SimulationStoreDecoder for modules using collections.
  • (genutil) #16046 Add "module-name" flag to genutil add-genesis-account to enable intializing module accounts at genesis.* #15970 Enable SIGN_MODE_TEXTUAL.
  • (types) #15958 Add module.NewBasicManagerFromManager for creating a basic module manager from a module manager.
  • (types/module) #15829 Add new endblocker interface to handle valset updates.
  • (runtime) #15818 Provide logger through depinject instead of appBuilder.
  • (types) #15735 Make ValidateBasic() error method of Msg interface optional. Modules should validate messages directly in their message handlers (RFC 001).
  • (x/genutil) #15679 Allow applications to specify a custom genesis migration function for the genesis migrate command.
  • (telemetry) #15657 Emit more data (go version, sdk version, upgrade height) in prom metrics.
  • (client) #15597 Add status endpoint for clients.
  • (testutil/integration) #15556 Introduce testutil/integration package for module integration testing.
  • (runtime) #15547 Allow runtime to pass event core api service to modules.
  • (client) #15458 Add a CmdContext field to client.Context initialized to cobra command's context.
  • (x/genutil) #15301 Add application genesis. The genesis is now entirely managed by the application and passed to CometBFT at note instantiation. Functions that were taking a cmttypes.GenesisDoc{} now takes a genutiltypes.AppGenesis{}.
  • (core) #15133 Implement RegisterServices in the module manager.
  • (x/bank) #14894 Return a human readable denomination for IBC vouchers when querying bank balances. Added a ResolveDenom parameter to types.QueryAllBalancesRequest and --resolve-denom flag to GetBalancesCmd().
  • (core) #14860 Add Precommit and PrepareCheckState AppModule callbacks.
  • (x/gov) #14720 Upstream expedited proposals from Osmosis.
  • (cli) #14659 Added ability to query blocks by events with queries directly passed to Tendermint, which will allow for full query operator support, e.g. >.
  • (x/auth) #14650 Add Textual SignModeHandler. Enable SIGN_MODE_TEXTUAL by following the UPGRADING.md instructions.
  • (x/crisis) #14588 Use CacheContext() in AssertInvariants().
  • (mempool) #14484 Add priority nonce mempool option for transaction replacement.
  • (query) #14468 Implement pagination for collections.
  • (x/gov) #14373 Add new proto field constitution of type string to gov module genesis state, which allows chain builders to lay a strong foundation by specifying purpose.
  • (client) #14342 Add <app> config command is now a sub-command, for setting, getting and migrating Cosmos SDK configuration files.
  • (x/distribution) #14322 Introduce a new gRPC message handler, DepositValidatorRewardsPool, that allows explicit funding of a validator's reward pool.
  • (x/bank) #14224 Allow injection of restrictions on transfers using AppendSendRestriction or PrependSendRestriction.

Improvements

  • (x/staking) #18049 Return early if Slash encounters zero tokens to burn.
  • (x/staking) #18035 Hoisted out of the redelegation loop, the non-changing validator and delegator addresses parsing.

... (truncated)

Commits
  • 9814f68 chore: tagged the wrong branch (backport #18407) (#18408)
  • e36a25c chore: prepare v0.50.0 release notes and changelog (#18191)
  • 5bed3ae fix: deterministic protov2 marshal (backport #18403) (#18406)
  • d1f41e5 build(deps): Bump cosmossdk.io/math from 1.1.3-rc.1 to 1.2.0 (#18386)
  • 1313c0e fix(client/v2): fix short command description if not set and skip unsupported...
  • 57637f7 docs: clarify cosmovisor doc (backport #18359) (#18370)
  • e83a200 fix(client/v2): fix marshalling of queries with any (backport #18309) (#18354)
  • 7843204 feat(baseapp): Add Hybrid Protobuf handlers to MsgServiceRouter (backport #18...
  • f6d4b2e refactor(x/group): check the new admin address when updating the group policy...
  • 7907810 docs: adding some missing parenthesis (backport #18344) (#18346)
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.47.5 to 0.50.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@v0.47.5...v0.50.1)

---
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 requested a review from a team as a code owner November 13, 2023 12:07
@mpoke
Copy link
Contributor

mpoke commented Nov 13, 2023

Closing as this is done manually in a different PR

@mpoke mpoke closed this Nov 13, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 13, 2023

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. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

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

@dependabot dependabot bot deleted the dependabot/go_modules/main/github.com/cosmos/cosmos-sdk-0.50.1 branch November 13, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant