Skip to content

Commit

Permalink
Update x/gov/CHANGELOG.md
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
sontrinh16 and coderabbitai[bot] authored Mar 25, 2024
1 parent a6d4249 commit 9819366
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/gov/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Ref: https://keepachangelog.com/en/1.0.0/
### API Breaking Changes

* [#19850](https://github.com/cosmos/cosmos-sdk/pull/19850) Removes the use of Accounts String method:
* `NewDeposit`, `NewMsgDeposit`, `NewMsgVote`, `NewMsgVoteWeighted`, `NewVote`, `NewProposal`, `NewMsgDeposit`, `NewMsgSubmitProposal`, `NewMsgVote`, `NewMsgVoteWeighted` now takes a string as argument instead of an `sdk.AccAddress`.
* `Prompt` and `PromptMetadata` take as an address.Codec as argument.
* `SetProposer` takes a String as argument instead of a `fmt.Stringer`.
* `NewDeposit`, `NewMsgDeposit`, `NewMsgVote`, `NewMsgVoteWeighted`, `NewVote`, `NewProposal`, `NewMsgSubmitProposal`, `NewMsgVote`, `NewMsgVoteWeighted` now take a string as an argument instead of an `sdk.AccAddress`.
* `Prompt` and `PromptMetadata` take an address.Codec as arguments.
* `SetProposer` takes a String as an argument instead of a `fmt.Stringer`.
* [#19481](https://github.com/cosmos/cosmos-sdk/pull/19481) Migrate module to use `appmodule.Environment`; `NewKeeper` now takes `appmodule.Environment` instead of a store service and no `baseapp.MessageRouter` anymore.
* [#19481](https://github.com/cosmos/cosmos-sdk/pull/19481) v1beta1 proposal handlers now take a `context.Context` instead of an `sdk.Context`.
* [#19592](https://github.com/cosmos/cosmos-sdk/pull/19592) `types.Config` and `types.DefaultConfig` have been moved to the keeper package in order to support the custom tallying function.
Expand Down

0 comments on commit 9819366

Please sign in to comment.