-
Notifications
You must be signed in to change notification settings - Fork 628
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
feat(ica/controller)!: migrate ica/controller parameters to be self managed #3590
Conversation
Hey @vishal-kanna! Thanks for getting this started! There has been many comments on #3520 which could be useful to align the work in this PR. Let us know if you'd like to continue working on this, alternatively we could have someone pick up the remaining work and bring it over the finish line! |
Thanks for the work @vishal-kanna. I will take over the remaining work now. |
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.
LGTM! Just one minor fix related to the controller or host keeper potentially being nil (it is allowed to have the ica module with just one of the keepers initialized)
modules/apps/27-interchain-accounts/controller/keeper/keeper.go
Outdated
Show resolved
Hide resolved
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.
Awesome, thank you @vishal-kanna and @srdtrk :)
One last thing would be logging msgs for both cases - successful migration and if keeper is nil and migrations are skipped. But I'm happy if they are handled as part of #3776
I will merge this after your approval @DimitrisJim |
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.
looks great ❤️ left a small question for something unrelated.
Description
With this PR:
ica/controller
submodule now self-manages its parameters.ica/controller
submodule's parameters.x/params
' subspace to theica/controller
submodule's keeper.closes: #3503
addresses: #2010
Commit Message / Changelog Entry
see the guidelines for commit messages. (view raw markdown for examples)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
).godoc
comments.Files changed
in the Github PR explorer.Codecov Report
in the comment section below once CI passes.