-
Notifications
You must be signed in to change notification settings - Fork 33
refactor!: create x/gov wrapper #248
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
Conversation
|
Looks like some e2e are failing. We shouldn't need to touch them and they should pass as is (to confirm the wrapper works seamlessly). Checking... |
|
@julienrbrt If possible I'd like to keep the migrations code, I think it's helpful when you need to write a new one, or when you need to refresh your mind about how one upgrade has been coded. |
Because of the removal of some functions in the module, some migration (v3) do not make sense anymore and won't compile. EDIT: turns out i simply need more wrappers. Re-adding. |
|
@julienrbrt feel free to just comment the code if this is more simple. That's good for me too. |
tbruyelle
left a comment
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.
Here is my first review, I've checked the e2e tests and the failing tests are weird, maybe that hides some problems in the wrapper. I'll have a look as well unless you already found the solution.
It's on my list to check. I was playing with megablock. |
|
@julienrbrt oh damned, one of the failing e2e test is |
|
Looks like the errors are only rest errors now. |
One is 500 on query proposal, I was able to have a log:
|
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.
Great work!
e2e tests were really useful to spot the issues here ;)
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.
neat!
with this merged we will also be finally able to finalize the governors addition (once atomone-hub/cosmos-sdk#36 is merged as well) by migrating the remaining stuff from #73. Will be a relief ahahah
100%. Thanks a lot for digging and finding this was the last missing part: atomone-hub/cosmos-sdk#37 |
Add missing changelog for #248.
Create x/gov wrapper based on Atom One SDK
Closes: #242 and #244