-
Notifications
You must be signed in to change notification settings - Fork 49
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
V0.45.13 proposal #176
V0.45.13 proposal #176
Conversation
@inon-man @nghuyenthevinh2000: What implications has this for Mantlemint and FCD? |
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 buddy. Great work! :)
@fragwuerdig Also, I have figured out the right way to modify the gas test. If you can check the gas test, you will see that it is very minimal |
Do you have an idea what we need to modify in FCD so that we do not break the Infra? |
No idea at the moment, but changes will happen to layer 2 and not layer 1 |
Hey I heard there was need of a review here. So normally I would totally lint this, before merging it. If you're cool with waiting until tomorrow, then I'm happy to review. What I need to know in order to review this effectively, is the style and goal of this particular pull request. @nghuyenthevinh2000 can you explain to me, what the goals are here, and how you intend to deal with WASM in this PR? |
@fragwuerdig I think that it really makes sense to just assume that this is going to break FCD. I think that there are too many breaking changes to be able to easily advise on how not to make breaking changes. @nghuyenthevinh2000 is correct to simply say that this will break front ends. Not much way around it. |
I think that we should be using a later version of TMDb, that uses grocksdb instead of gorocksdb. |
Tendermint 34.24 has a CPU griefing issue, and the minimum version that I consider safe is GitHub.com/informalsystems/tendermint v0.34.26 |
Since we are updating the cosmos SDK, the minimum version that we should be updating to is v0.45.14 |
Since the changes here aren't gigantic, in order to gain the benefit of using the linter, and the additional tests and error checks that are in the linted branch, I would merge this branch into this one or merge that branch into this one. |
Given how many changes are going to occur on the front end side, I approve of bluntly stating that this will break front ends. I also may recommend that this just be refactored to use 47. Mainly you would be making changes to the governance proposal handlers. |
I merged this branch into the linted one. This makes it easier to find issues. Remember to turn on golangci-lint in your editor. |
Basically I don't approve this PR, until:
|
Thank you for providing feedback. The more the merrier, just lets keep it civil and remember we all have the same goal here <3 We intend to leave the TFL WASM customization in place for the 2.0 upgrade, since we want to make sure we can have complete focus on the WASM migration process that L2 apps will have to go thru. Thus we will revert to the canonical Cosmos SDK WASM module in 2.1. The 2.0 / 2.1 upgrades will break the FCD but as such I believe that it will mainly be the protobuf message contracts so it will be fairly simple to upgrade the FCD TypeScript dependencies and do whatever tweaking is needed once we have the new message contract dependency in place (terra.proto / terra.js). Terra-station, desktop, etc will also be affected by the changes to the message contracts. But the 0.45.x upgrade is largely just extensions to existing msg schemas so it should be mainly about rewiring code, thus it should not take to long to fix. Regarding this comment: "Tendermint 34.24 has a CPU griefing issue, and the minimum version that I consider safe is GitHub.com/informalsystems/tendermint v0.34.26" As I can see it TM 34.26 is really just "pre-stage-CometBFT", since its released by informalsystems and not the official tendermint release? Either way, I tried bumping 0.45.13 to use 34.26 but it seemed to introduce some breakage due to some issues related to github.com/gogo/protobuf v1.3.3 and ultimately a missing replace statement for informals TM version. However I cannot find any reference to the "CPU griefing issue" in their v0.34.26 CHANGELOG section, do you have a link for some info on that particular issue? It should be safe to bump to Cosmos SDK v0.45.14, which has a DDoS patch of some sort. However I think we can do that safely in the context of your clean up PR and release it as part of v2.1 or 2.2 (which might also be named 3.0 depending on the changes needed to adopt CometBFT). All of this is granted that you downgrade to Go 1.18, as we don't have the resources (aka manpower) at the moment to safely ensure all validators update their go installations and dealing with potential "unknown, unknowns", which we most likely will have to do if we make this a hard requirement. |
Summary of changes
No chain migration code is needed
There is only REST endpoints migration: https://github.com/cosmos/cosmos-sdk/blob/v0.45.13/docs/migrations/rest.md. This upgrade will break all current front - end.
Report of required housekeeping
(FOR ADMIN) Before merging