Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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(modules): adopt appmodulev2.Hasgenesis #19627
refactor(modules): adopt appmodulev2.Hasgenesis #19627
Changes from 25 commits
9926a79
b197a54
14240c1
6498de7
ab07ff4
8598f6b
4ee4c9b
5b0125a
a3438da
185a2ef
ecd74da
8593803
1ced3b7
497276c
d4c1f79
0594f67
f06dd1c
9ce438a
3c47508
e07cfa1
d594876
4a364a3
c108dd8
d4d66db
7dba752
287cc1f
7dd0c9c
5427d0a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 comment
<!-- TO UPDATE - THIS IS SEVERELY OUTDATED -->
has been added to indicate that the content in the section is outdated. While this is a helpful note for future updates, it's important to ensure that such comments are followed up with actual content updates to keep the documentation current and useful for readers. Consider creating a tracking issue or task to update this section with the latest information regarding application module interfaces and their usage.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 parameters
cdc codec.JSONCodec
andgenesisData map[string]json.RawMessage
have been removed from the signatures ofInitGenesis
,ExportGenesis
, andExportGenesisForModules
. This change aligns with the adoption of theappmodulev2.HasGenesis
interface, which aims to simplify codec management and enhance the modularity of code components. Ensure that the removal of these parameters does not impact the functionality of these methods and that all necessary data manipulations are still possible through the new interface methods or other mechanisms within the module manager.