-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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(appconfig)!: simplify app config #19040
Merged
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e06226f
refactor(appconfig)!: simplify app config
julienrbrt 3200d8c
extract depinject config
julienrbrt cdef118
updates
julienrbrt ac65a4c
partly revert
julienrbrt 054752e
updates
julienrbrt 24dc4fd
`make lint-fix`
julienrbrt 8facd8f
updates
julienrbrt 05976ac
updates
julienrbrt 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ for more details. | |
|
||
### Params | ||
|
||
* Params Migrations were removed. It is required to migrate to 0.50 prior to upgrading to .51. | ||
* Params migrations were removed. It is required to migrate to 0.50 prior to upgrading to v0.51. | ||
|
||
### SimApp | ||
|
||
|
@@ -112,13 +112,18 @@ clientCtx = clientCtx. | |
|
||
Refer to SimApp `root_v2.go` and `root.go` for an example with an app v2 and a legacy app. | ||
|
||
#### Dependency Injection | ||
|
||
<!-- explain app_config.go changes --> | ||
|
||
Comment on lines
+115
to
+118
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 section under |
||
### Modules | ||
|
||
#### `**all**` | ||
|
||
##### Dependency Injection | ||
|
||
Previously `cosmossdk.io/core` held functions `Invoke`, `Provide` and `Register` were moved to `cosmossdk.io/depinject/appmodule`. All modules using dependency injection must update their imports. | ||
Previously `cosmossdk.io/core` held functions `Invoke`, `Provide` and `Register` were moved to `cosmossdk.io/depinject/appconfig`. | ||
All modules using dependency injection must update their imports. | ||
|
||
##### Genesis Interface | ||
|
||
|
Oops, something went wrong.
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.
It appears that there is a placeholder comment
<!-- explain app_config.go changes -->
which should be replaced with the actual explanation of changes made toapp_config.go
.There is a placeholder comment that needs to be replaced with actual content explaining the changes to
app_config.go
. This is important for developers to understand the specific alterations and how to adjust their code.The placeholder comment
<!-- explain app_config.go changes -->
indicates that a section of the documentation is missing. This should be completed to provide necessary information about the changes toapp_config.go
.