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.45.7 to 0.46.1 #867

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2022

Bumps github.com/cosmos/cosmos-sdk from 0.45.7 to 0.46.1.

Release notes

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

v0.46.1

Cosmos SDK v0.46.1 Release Notes

This release introduces a few bug fixes and improvements.

Notably, the crisis invariant check has been speed up (thanks to a Juno bounty) and the default priority mechanism has been improved to depend on gas price instead of fee. In addition, Tendermint has been upgraded to 0.34.21.

Please see the CHANGELOG for an exhaustive list of changes.

Full Commit History: cosmos/cosmos-sdk@v0.46.0...v0.46.1

v0.46.0

Cosmos SDK v0.46.0 Release Notes

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.46 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.45 release series, please see the CHANGELOG.

New Module: x/group

The previous v0.43 series focused on simplifying keys and fee management for SDK users, by adding x/feegrant and x/authz. v0.46 finishes this work by introducing x/group.

x/group provides functionality to define on-chain groups of people that can execute arbitrary messages based on agreed upon rules. A simple use-case of x/group is to create on-chain multisigs (with updateable members and thresholds), but x/group can also be used to create more complex DAOs.

The x/group module revolves around 3 concepts:

  • A group is simply an aggregation of accounts with associated weights.
  • A group policy is a group with a set of rules attached, called decision policy. The decision policy defines how voting and arbitrary message execution happens (e.g. does a proposal pass on 50% yes? 2/3 yes? is there a way to veto? etc). Each group policy has its own an on-chain account, so can hold funds. Managing group membership separately from decision policies results in the least overhead and keeps membership consistent across different policies.
  • Any member of a group can submit a proposal for a group policy account to decide upon. A proposal consists of a set of messages that will be executed if the proposal passes voting.

If a proposal passes the decision policy's rules after its voting period, then any account can send a MsgExec against this proposal to execute the sdk.Msgs included in the proposal.

For more details about x/group, please refer to the SDK documentation and ADR-042.

The folder structure of x/group contains an internal folder, which holds a custom ORM used only by x/group (and which will be replaced by the new ORM) as well as a new implementation of Dec (for decimals) based on cockroachdb/apd, which serves as a proof-of-concept for the new sdk.Dec.

Msg-based Gov Proposals

In an effort to align x/gov with x/group, the SDK v0.46 release introduces a new Protobuf package: cosmos.gov.v1.

The biggest change compared to the previous cosmoss.gov.v1beta1 is in MsgSubmitProposal: instead of defining gov router proposal handlers, the v0.46 gov execution models is based on sdk.Msgs:

message MsgSubmitProposal {
-  google.protobuf.Any content                       = 1 [(cosmos_proto.accepts_interface) = "Content"];
+  repeated google.protobuf.Any messages             = 1 [(cosmos_proto.accepts_interface) = "sdk.Msg"];
  repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [(gogoproto.nullable) = false];
  string                            proposer        = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];
+  // metadata is any arbitrary metadata attached to the proposal.
+  string metadata = 4;
</tr></table> 

... (truncated)

Changelog

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

v0.46.1 - 2022-08-24

Improvements

  • #12953 Change the default priority mechanism to be based on gas price.
  • #12981 Return proper error when parsing telemetry configuration.
  • #12969 Bump Tendermint to v0.34.21 and IAVL to v0.19.1.
  • #12885 Amortize cost of processing cache KV store.
  • (events) #12850 Add a new fee_payer attribute to the tx event that is emitted from the DeductFeeDecorator AnteHandler decorator.
  • (x/params) #12615 Add GetParamSetIfExists function to params Subspace to prevent panics on breaking changes.
  • (x/bank) #12674 Add convenience function CreatePrefixedAccountStoreKey() to construct key to access account's balance for a given denom.
  • #12877 Bumped cosmossdk.io/math to v1.0.0-beta.3
  • #12693 Make sure the order of each node is consistent when emitting proto events.

Bug Fixes

  • (x/group) #12888 Fix event propagation to the current context of x/group message execution []sdk.Result.
  • (x/upgrade) #12906 Fix upgrade failure by moving downgrade verification logic after store migration.

v0.46.0 - 2022-07-26

Features

  • (types) #11985 Add a Priority field on sdk.Context, which represents the CheckTx priority field. It is only used during CheckTx.
  • (gRPC) #11889 Support custom read and write gRPC options in app.toml. See max-recv-msg-size and max-send-msg-size respectively.
  • (cli) #11738 Add tx auth multi-sign as alias of tx auth multisign for consistency with multi-send.
  • (cli) #11738 Add tx bank multi-send command for bulk send of coins to multiple accounts.
  • (grpc) #11642 Implement ABCIQuery in the Tendermint gRPC service, which proxies ABCI Query requests directly to the application.
  • (x/upgrade) #11551 Update ScheduleUpgrade for chains to schedule an automated upgrade on BeginBlock without having to go though governance.
  • (cli) #11548 Add Tendermint's inspect command to the tendermint sub-command.
  • (tx) #\11533 Register EIP191 as an available SignMode for chains to use.
  • (x/genutil) #11500 Fix GenTx validation and adjust error messages
  • #11430 Introduce a new grpc-only flag, such that when enabled, will start the node in a query-only mode. Note, gRPC MUST be enabled with this flag.
  • (x/bank) #11417 Introduce a new SpendableBalances gRPC query that retrieves an account's total (paginated) spendable balances.
  • #11441 Added a new method, IsLTE, for types.Coin. This method is used to check if a types.Coin is less than or equal to another types.Coin.
  • (x/upgrade) #11116 MsgSoftwareUpgrade and MsgCancelUpgrade have been added to support v1beta2 msgs-based gov proposals.
  • #11308 Added a mandatory metadata field to Vote in x/gov v1beta2.
  • #10977 Now every cosmos message protobuf definition must be extended with a cosmos.msg.v1.signer option to signal the signer fields in a language agnostic way.
  • #10710 Chain-id shouldn't be required for creating a transaction with both --generate-only and --offline flags.
  • #10703 Create a new grantee account, if the grantee of an authorization does not exist.
  • #10592 Add a DecApproxEq function that checks to see if |d1 - d2| < tol for some Dec d1, d2, tol.
  • #9933 Introduces the notion of a Cosmos "Scalar" type, which would just be simple aliases that give human-understandable meaning to the underlying type, both in Go code and in Proto definitions.
  • #9884 Provide a new gRPC query handler, /cosmos/params/v1beta1/subspaces, that allows the ability to query for all registered subspaces and their respective keys.
  • #9776 Add flag staking-bond-denom to specify the staking bond denomination value when initializing a new chain.
  • #9533 Added a new gRPC method, DenomOwners, in x/bank to query for all account holders of a specific denomination.
  • (bank) #9618 Update bank.Metadata: add URI and URIHash attributes.
  • (store) #8664 Implementation of ADR-038 file StreamingService
  • #9837 --generate-only flag can be used with a keyname from the keyring.
  • #10326 x/authz add all grants by granter query.
  • #10944 x/authz add all grants by grantee query

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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 25, 2022
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.46.1 branch 2 times, most recently from bcec337 to 36932cd Compare September 1, 2022 21:16
Bumps [github.com/cosmos/cosmos-sdk](https://github.com/cosmos/cosmos-sdk) from 0.45.7 to 0.46.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.46.1/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@v0.45.7...v0.46.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 force-pushed the dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.46.1 branch from 36932cd to 2200e15 Compare September 7, 2022 08:17
@danburck
Copy link
Contributor

Handled in #786

@danburck danburck closed this Sep 12, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 12, 2022

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/github.com/cosmos/cosmos-sdk-0.46.1 branch September 12, 2022 09:16
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant