Skip to content
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

Merged
merged 17 commits into from
Aug 5, 2022

Conversation

evan-forbes
Copy link
Member

@evan-forbes evan-forbes commented Jun 7, 2022

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

@evan-forbes evan-forbes self-assigned this Jun 7, 2022
@evan-forbes evan-forbes added dependencies Pull requests that update a dependency file C: Celestia app labels Jun 7, 2022
@evan-forbes evan-forbes changed the base branch from master to v0.6.x June 21, 2022 19:50
@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@4826675). Click here to learn what that means.
The diff coverage is n/a.

@@           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.

@evan-forbes evan-forbes changed the title update to v0.46.0-rc-1 and v0.35.6 update to sdk v0.46.0 and downgrade tendermint to v0.34.20 Jul 27, 2022
Copy link
Member

@liamsi liamsi left a 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.

@evan-forbes
Copy link
Member Author

evan-forbes commented Aug 1, 2022

We can do that in a different PR instead of also doing it here.

I'm in favour of this.

sorry, forget to edit the description after #573. which still needs to be merged in here (and will fix the failing linter)

cc @liamsi

@evan-forbes evan-forbes marked this pull request as ready for review August 2, 2022 17:48
rach-id
rach-id previously approved these changes Aug 2, 2022
Copy link
Member

@rach-id rach-id left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

app/app.go Show resolved Hide resolved
rootulp
rootulp previously approved these changes Aug 2, 2022
go.mod Outdated Show resolved Hide resolved
go.mod Show resolved Hide resolved
@evan-forbes evan-forbes dismissed stale reviews from rootulp and rach-id via f16f08a August 2, 2022 18:41
rach-id
rach-id previously approved these changes Aug 2, 2022
Copy link
Member

@liamsi liamsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing sus. LGTM

Comment on lines +632 to +641
func (app *App) setPostHanders() {
postHandler, err := posthandler.NewPostHandler(
posthandler.HandlerOptions{},
)
if err != nil {
panic(err)
}

app.SetPostHandler(postHandler)
}
Copy link
Member

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?

Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Successful MsgPayForData isn't consuming gas on mamaki
5 participants