-
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!: migrate to core appmodule.AppModule extension interfaces #13794
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
60ec34a
refactor!: migrate to core appmodule.AppModule extension interfaces
aaronc 1ceb653
fix build errors
aaronc 251500d
docs
aaronc f05222a
test fixes
aaronc 62bfd3e
CHANGELOG.md, UPGRADING.md
aaronc 5344498
docs
aaronc 99b87dd
Merge branch 'main' into aaronc/appmodule-refactor
aaronc 05c662e
WIP
aaronc aab802c
Merge branch 'main' of github.com:cosmos/cosmos-sdk into aaronc/appmo…
aaronc 75f6f73
revert
aaronc dd52b7f
remove breaking changes
aaronc 7f66cd1
update docs, naming
aaronc 6514568
update docs
aaronc c90384e
Update types/module/module.go
aaronc cebb336
Update types/module/module.go
aaronc 13c77ad
Update types/module/module.go
aaronc 04450d5
address review comments
aaronc 408c659
remove ModuleBasicWrapper
aaronc a861170
Merge branch 'main' into aaronc/appmodule-refactor
aaronc 8650ee9
Merge branch 'main' into aaronc/appmodule-refactor
aaronc 7a99acb
fix test failures
aaronc 2138652
fix mock tests
aaronc b1ed6ef
Merge branch 'main' into aaronc/appmodule-refactor
aaronc 893d37d
fix tests
aaronc 286bd03
Merge remote-tracking branch 'origin/aaronc/appmodule-refactor' into …
aaronc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
We can remove
AppModuleWrapper
in runtime/wrappers.go, right?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.
TBH I would even remove
WrapAppModuleBasic
and allProvideModuleBasic
s. Does depinject need the AppModuleBasics? Maybe only provide the appmodule.AppModules?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.
I removed
AppModuleWrapper
. I'll look into removingWrapAppModuleBasic
. It's needed for codec instantiation, but maybe I can find a workaround.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.
I removed WrapModuleBasic. A bunch of boilerplate gone now. Should I go ahead and make the rest of AppModuleBasic extension interfaces? In particular
HasInterfaces
andHasAmino
?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.
Yes, I think that's a good idea. Totally fine to do in a follow-up too, as this already has approvals. It's not breaking anyways, right?