namada
namada copied to clipboard
Update to Tendermint v0.37.0-rc1
Currently our Tendermint v0.37.x fork (0.1.4-abciplus) is based off of this commit - https://github.com/heliaxdev/tendermint/commit/0b58342a46b1917a40d506e48e87448dcc8b3131 (from 2022-08-31). We need to update our fork to be based on the more recent Tendermint v0.37-rc1 (https://github.com/tendermint/tendermint/releases/tag/v0.37.0-rc1). The way we do patching for our Tendermint dependencies is off as well, this can be fixed at the same time, and CI for our forks can also be cleaned up a bit (https://github.com/anoma/namada/issues/537).
First, making the patching saner:
- [x] create a
ledger-mainbranch fortendermint-rs, using thetendermint-rsversion used in namada v0.10.1 - [ ] create a
ledger-mainbranch foribc-rsand pin it totendermint-rsversion used in namada v0.10.1 (https://github.com/heliaxdev/ibc-rs/pull/11) - [ ] create a
ledger-mainbranch fortower-abciand pin it totendermint-rsversion used in namada v0.10.1 (https://github.com/heliaxdev/tower-abci/pull/6) - [ ] update
tendermint-v0.37-integrationto use revisions from theledger-mainbranches of tendermint-rs/ibc-rs/tower-abci, for0.1.4-abciplus(https://github.com/anoma/namada/pull/827)
Then
- [ ] integrate v0.37.0-rc1 changes for
tendermint-rs(https://github.com/heliaxdev/tendermint-rs/pull/10) intoledger-main - [ ] integrate v0.37.0-rc1 changes for
ibc-rs(https://github.com/heliaxdev/ibc-rs/pull/9) intoledger-main - [ ] integrate v0.37.0-rc1 changes for
tower-abci(https://github.com/heliaxdev/tower-abci/pull/5) intoledger-main - [ ] update github.com/heliaxdev/tendermint
ledger-mainto be based on upstreamv0.37.0-rc1(https://github.com/heliaxdev/tendermint/pull/213) - [ ] update
tendermint v0.37-integrationto use newer revisions from theledger-mainbranches of tendermint-rs/ibc-rs/tower-abci, for0.1.4-abciplus + v0.37.0-rc1
Anything that lands in main should be using tag instead of rev or branch for any crates pulled in via git sources.
tags are generally better I think, since revisions are very opaque (as in, you can't really tell much about them unless you browse the corresponding git tree).
It looks like we don't need our Tendermint fork anymore - the only differences between v0.37.0-rc1 and our fork is the addition of the events endpoint - https://github.com/tendermint/tendermint/compare/v0.37.0-rc1...heliaxdev:tendermint:ledger-main - which is not being used now
We should try to move to mainline 0.37 before Namada mainnet.
closed in favor of #1349
closed in favor of https://github.com/anoma/namada/issues/1349