-
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
[Epic]: Remove legacy params subspace from module #17360
Labels
T:Epic
Epics
Comments
julienrbrt
changed the title
[Epic]: Remove legacy params subspace from module.
[Epic]: Remove legacy params subspace from module
Aug 11, 2023
should we spin params into its own go.mod as well? |
I cannot find @kocubinski's dep graph issue, but I think we should if possible. |
Thanks @julienrbrt. ACK on removing these migrations and x/params deps |
it seems we have to remove the migrations as well, is this what you were expecting? |
Yes, that's exactly the goal |
@julienrbrt here it is #13012 |
This was referenced Sep 20, 2023
20 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
In v0.47, all SDK modules migrated to store their own parameters and
x/params
has been deprecated.There was a module wide migration to do this, which added a hard dependency on params.
Problem Definition
That migration added a hard dependency on
x/params
for all core modules that had params.cosmos-sdk/x/bank/module.go
Lines 95 to 104 in 9bc84c9
cosmos-sdk/x/bank/exported/exported.go
Lines 15 to 25 in 9bc84c9
Given the SDK policy to support the in-place migrations for the last two major versions (https://docs.cosmos.network/main/migrations/intro), we can now remove those migrations and the legacy params subspace from all modules from v0.51.
Work Breakdown
The text was updated successfully, but these errors were encountered: