-
Notifications
You must be signed in to change notification settings - Fork 717
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
app.go cleanup #1580
app.go cleanup #1580
Conversation
Thank you @Anmol1696 ! |
probably after global fee and ica auth module integrated... |
Cool no problem, will wait till then before resolving all following conflicts. Let me know if there is anything else to be added to this PR. |
I guess still waiting on some of the PRs. These are the PRs i should be waiting for right? |
|
I like this PR. I'd like to take some time tomorrow, and compare it to Osmosis' app.go, I really like how they've structured things. |
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 like this style, and have been working with it at Osmosis.
I ran through the PR just now and overall, I just think that it'll benefit us re: usability and readability.
I am also sure that it's going to need a little bit of restructuring because of the upgrade 46. Would you like to do it @Anmol1696 or should I pull your branch and make the changes in a new branch?
@faddat i can take up the restructure, if you can point me towards it, i want to take it up. |
So here are two examples: https://github.com/notional-labs/craft https://github.com/osmosis-labs/osmosis They are both very similar, and I think it is a great way to reduce the complexity of app.go |
@Anmol1696 , please solve the conflicts and we can review and merge the pr ! thank you! 👍 |
The complaint seems to be directly for the This seems to be special case where there is an overhaul of the full If we dont want to use admin to merge the PR, we could have back to back PRs, in this PR we ignore the Let me know how you want me to proceed here @yaruwangway, or if you have any other suggestions. |
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 think we can remove the EmptyAppOptions
from the app.go
. It is duplicated in the helpers/test_helpers.go
@mmulji-ic can we force merge ? |
ah sorry @Anmol1696, every PR that gets merged into main presents a new set of conflicts. If you could help get the latest ones resolved I'll merge the PR before the next ones, thank you! |
Yup let me take it up today and finish this up. |
Hi @Anmol1696, thank you! Presently, i did not merge this commit of bumping ibc in your PR, you can neglect this commit, we can do this commit again after your PR merged! |
@Anmol1696 |
9064df1
to
8fc27f7
Compare
Hmm somehow the commits got messed up, i tried to hard push a force reset to A little confused here. |
It seems i can try to do the merge again though and see what happens on my branch, but l am not sure what just happened here to this PR |
so you force pushed? I think there are two commits are missing. i can fix it. |
well i forced push to remove your commits from my branch, but turns out |
you only removed two commits from mine, there are three. |
Would you like to fix this PR or you prefer I do ? |
yup i was asking since that was a merge commit to update my branch with main, i kept it. |
well the fix just requiers a force push back to orginial and then re-merge the main branch. Right? |
ha, if you mean why merge failed the test, from present commit, you can further commit to convert back the ibc-go version from v5.0.0 to v5.0.0-rc2. it will fix some of the tests. and we will bump the ibc again after your branch merge. otherwise, you can reset back to |
Ahh cool cool, my thought was that the merge of main branch was correct, because this bump of ibc was in a later commit of fix linting which i rolled back as well. |
8fc27f7
to
1cfbbb4
Compare
Done with the branch again. can you guys have a look: @yaruwangway @okwme |
merged! thanks! @Anmol1696 |
PR for #1557
Cleanup to make
app.go
easier and more similar to cleaner upgrades and keeperupgrades/
directory to hold various chain upgrade functionskeepers/
dir to hold all keeper creation, just moved keeper defination fromapp.go
to keeper and another struct to be passed to upgrades.Note: Core logic for is just moved to new structure, not much refactor.