-
Notifications
You must be signed in to change notification settings - Fork 346
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
update to sdk v0.46.0 and downgrade tendermint to v0.34.20 #472
Conversation
Codecov Report
@@ Coverage Diff @@
## main #472 +/- ##
=======================================
Coverage ? 29.60%
=======================================
Files ? 16
Lines ? 2050
Branches ? 0
=======================================
Hits ? 607
Misses ? 1382
Partials ? 61 Help us with your feedback. Take ten seconds to tell us how you rate us. |
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.
We can do that in a different PR instead of also doing it here.
I'm in favour of this.
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.
Co-authored-by: Rootul Patel <[email protected]>
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.
Nothing sus. LGTM
func (app *App) setPostHanders() { | ||
postHandler, err := posthandler.NewPostHandler( | ||
posthandler.HandlerOptions{}, | ||
) | ||
if err != nil { | ||
panic(err) | ||
} | ||
|
||
app.SetPostHandler(postHandler) | ||
} |
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.
Why is this snippet necessary?
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.
that's a good point, I don't think it is, and we could put it this is normal typical definition of the app. tbh, I don't remember where I was going with this as the base of this PR is pretty old.
not changing for now simply so I don't dismiss the current approvals, but this should be fixed when we do #331
Description
This PR pull the latest from tendermint and the cosmos-sdk. The changes introduced in the sdk are consensus breaking and will need to be included in the upcoming hardfork.
NOTE: the cosmos-sdk uses generics, so we also have to update to go 1.18. We can do that in a different PR instead of also doing it here.see #573