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.46.0-beta2.0.20230614103911-b3da8bb4e801 to 0.50.1 in /tools/confix #18460

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps github.com/cosmos/cosmos-sdk from 0.46.0-beta2.0.20230614103911-b3da8bb4e801 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

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.46.0-beta2.0.20230614103911-b3da8bb4e801 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](https://github.com/cosmos/cosmos-sdk/commits/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] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner November 14, 2023 02:22
@dependabot dependabot bot added A:automerge Automatically merge PR once all prerequisites pass. dependencies Pull requests that update a dependency file labels Nov 14, 2023
Copy link
Contributor

coderabbitai bot commented Nov 14, 2023

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

@github-prbot github-prbot requested review from a team, facundomedica and julienrbrt and removed request for a team November 14, 2023 02:23
@julienrbrt julienrbrt closed this Nov 14, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 14, 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/tools/confix/github.com/cosmos/cosmos-sdk-0.50.1 branch November 14, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant