-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
refactor(x/**)!: genesis return errors #19740
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -38,6 +38,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |||||
* [#17569](https://github.com/cosmos/cosmos-sdk/pull/17569) `BurnCoins` takes an address instead of a module name | ||||||
* [#19477](https://github.com/cosmos/cosmos-sdk/pull/19477) `appmodule.Environment` is passed to bank `NewKeeper` | ||||||
* [#19627](https://github.com/cosmos/cosmos-sdk/pull/19627) The genesis api has been updated to match `appmodule.HasGenesis`. | ||||||
* [#19713](https://github.com/cosmos/cosmos-sdk/pull/19740) Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The changelog entry for the API breaking changes section is well-formed but contains a minor typographical error. The word "do" in "do not panic" is unnecessarily repeated. - Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic
+ Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic. Note: Ensure to add a period at the end of the sentence for consistency with other entries. Committable suggestion
Suggested change
|
||||||
|
||||||
### Consensus Breaking Changes | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -67,6 +67,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |||||
* [#18532](https://github.com/cosmos/cosmos-sdk/pull/18532) All functions that were taking an expedited bool parameter now take a `ProposalType` parameter instead. | ||||||
* [#17496](https://github.com/cosmos/cosmos-sdk/pull/17496) in `x/gov/types/v1beta1/vote.go` `NewVote` was removed, constructing the struct is required for this type. | ||||||
* [#19101](https://github.com/cosmos/cosmos-sdk/pull/19101) Move `QueryProposalVotesParams` and `QueryVoteParams` from the `types/v1` package to `utils` and remove unused `querier.go` file. | ||||||
* [#19713](https://github.com/cosmos/cosmos-sdk/pull/19740) Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The changelog entry for the API breaking changes section is well-formed but contains a minor typographical error. The word "do" in "do not panic" is unnecessarily repeated. - Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic
+ Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic. Note: Ensure to add a period at the end of the sentence for consistency with other entries. Committable suggestion
Suggested change
|
||||||
|
||||||
### Deprecated | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -35,3 +35,4 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |||||
* [#19638](https://github.com/cosmos/cosmos-sdk/pull/19638) Migrate module to use `appmodule.Environment` router service so no `baseapp.MessageRouter` is required is `NewKeeper` anymore. | ||||||
* [#19489](https://github.com/cosmos/cosmos-sdk/pull/19489) `appmodule.Environment` is received on the Keeper to get access to different application services. | ||||||
* [#19410](https://github.com/cosmos/cosmos-sdk/pull/19410) Migrate to Store Service. | ||||||
* [#19713](https://github.com/cosmos/cosmos-sdk/pull/19740) Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The changelog entry for the API breaking changes section is well-formed but contains a minor typographical error. The word "do" in "do not panic" is unnecessarily repeated. - Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic
+ Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic. Note: Ensure to add a period at the end of the sentence for consistency with other entries. Committable suggestion
Suggested change
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -37,6 +37,10 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |||||||||
|
||||||||||
* [#19367](https://github.com/cosmos/cosmos-sdk/pull/19367) `appmodule.Environment` is received on the Keeper to get access to different application services | ||||||||||
|
||||||||||
### API Breaking Changes | ||||||||||
|
||||||||||
* [#19713](https://github.com/cosmos/cosmos-sdk/pull/19740) Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a minor grammatical issue in the changelog entry. The verb "receives" should agree with its subject "queries," which is plural. Consider revising the sentence for grammatical accuracy. - Added new versions for `Balance`, `Owner`, `Supply`, `NFT`, `Class` queries that receives request via query string.
+ Added new versions for `Balance`, `Owner`, `Supply`, `NFT`, `Class` queries that receive requests via query string. Committable suggestion
Suggested change
The changelog entry for the API breaking changes section is well-formed but contains a minor typographical error. The word "do" in "do not panic" is unnecessarily repeated. - Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic
+ Verify `InitGenesis` and `ExportGenesis` module code and keeper code do not panic. Note: Ensure to add a period at the end of the sentence for consistency with other entries. Committable suggestion
Suggested change
|
||||||||||
|
||||||||||
## [v0.1.0](https://github.com/cosmos/cosmos-sdk/releases/tag/x/nft/v0.1.0) - 2023-11-07 | ||||||||||
|
||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changelog entry for the API breaking changes section is well-formed but contains a minor typographical error. The word "do" in "do not panic" is unnecessarily repeated.
Note: Ensure to add a period at the end of the sentence for consistency with other entries.
Committable suggestion