Closed okanisis closed 1 year ago
see discord discussion for additional info
https://discord.com/channels/993968517906960445/995469213080752159/1069073439614320661
My patch back-ports the needed changes.
Node upgrade from v1 to v2 worked as expected no cantod rollback
needed.
cantod
v1.0.0/genesis (patches applied):2:53AM INF executed block height=218224 module=state num_invalid_txs=0 num_valid_txs=0 server=node
2:53AM INF commit synced commit=436F6D6D697449447B5B313130203736203132302034342031333520313030203234203137372039352031373320383820363720313239203131332031393820313832203134332031373320353220313132203132342031383720353020393920313931203430203136203338203731203920313436203137335D3A33353437307D
2:53AM INF committed state app_hash=6E4C782C876418B15FAD58438171C6B68FAD34707CBB3263BF281026470992AD height=218224 module=state num_txs=0 server=node
2:53AM INF indexed block height=218224 module=txindex server=node
2:53AM ERR UPGRADE "v2.0.0" NEEDED at height: 218225:
panic: UPGRADE "v2.0.0" NEEDED at height: 218225:
goroutine 150 [running]:
github.com/cosmos/cosmos-sdk/x/upgrade.BeginBlocker({{0x7ffff5296b64, 0x16}, 0xc00024e180, {0x556b09f84340, 0xc0016da500}, {0x556b09fa7de0, 0xc000003450}, 0xc001892ed0, {0x556b09f7dfe0, 0xc0001caea0}, ...}, ...)
github.com/cosmos/cosmos-sdk@v0.45.6/x/upgrade/abci.go:71 +0xf9f
github.com/cosmos/cosmos-sdk/x/upgrade.AppModule.BeginBlock(...)
github.com/cosmos/cosmos-sdk@v0.45.6/x/upgrade/module.go:130
github.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(_, {{0x556b09f99940, 0xc000132020}, {0x556b09fa9b00, 0xc0519bf680}, {{0xb, 0x0}, {0xc03b1791b0, 0xc}, 0x35471, ...}, ...}, ...)
github.com/cosmos/cosmos-sdk@v0.45.6/types/module/module.go:479 +0x3a2
github.com/Canto-Network/Canto/v1/app.(*Canto).BeginBlocker(_, {{0x556b09f99940, 0xc000132020}, {0x556b09fa9b00, 0xc0519bf680}, {{0xb, 0x0}, {0xc03b1791b0, 0xc}, 0x35471, ...}, ...}, ...)
github.com/Canto-Network/Canto/v1/app/app.go:803 +0x85
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(_, {{0xc012102100, 0x20, 0x20}, {{0xb, 0x0}, {0xc03b1791b0, 0xc}, 0x35471, {0x1faf4b44, ...}, ...}, ...})
github.com/cosmos/cosmos-sdk@v0.45.6/baseapp/abci.go:194 +0x97b
github.com/tendermint/tendermint/abci/client.(*localClient).BeginBlockSync(_, {{0xc012102100, 0x20, 0x20}, {{0xb, 0x0}, {0xc03b1791b0, 0xc}, 0x35471, {0x1faf4b44, ...}, ...}, ...})
github.com/tendermint/tendermint@v0.34.20-0.20220517115723-e6f071164839/abci/client/local_client.go:280 +0x118
github.com/tendermint/tendermint/proxy.(*appConnConsensus).BeginBlockSync(_, {{0xc012102100, 0x20, 0x20}, {{0xb, 0x0}, {0xc03b1791b0, 0xc}, 0x35471, {0x1faf4b44, ...}, ...}, ...})
github.com/tendermint/tendermint@v0.34.20-0.20220517115723-e6f071164839/proxy/app_conn.go:81 +0x55
github.com/tendermint/tendermint/state.execBlockOnProxyApp({0x556b09f9a900?, 0xc001340120}, {0x556b09fa1ca0, 0xc000149c30}, 0xc00392e780, {0x556b09fa8710, 0xc0013a8650}, 0x35470?)
github.com/tendermint/tendermint@v0.34.20-0.20220517115723-e6f071164839/state/execution.go:307 +0x3dd
github.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock(_, {{{0xb, 0x0}, {0xc000466b58, 0x7}}, {0xc000466b70, 0xc}, 0x1, 0x35470, {{0xc02d0b8f40, ...}, ...}, ...}, ...)
github.com/tendermint/tendermint@v0.34.20-0.20220517115723-e6f071164839/state/execution.go:140 +0x171
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc000e94000, 0x0)
github.com/tendermint/tendermint@v0.34.20-0.20220517115723-e6f071164839/blockchain/v0/reactor.go:404 +0xbda
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
github.com/tendermint/tendermint@v0.34.20-0.20220517115723-e6f071164839/blockchain/v0/reactor.go:110 +0x7a
cantod
v2.0.0:3:00AM INF ABCI Handshake App Info hash="nLx,�d\x18�_�XC�qƶ��4p|�2c�(\x10&G\t��" height=218224 module=consensus protocol-version=0 server=node software-version=
3:00AM INF ABCI Replay Blocks appHeight=218224 module=consensus server=node stateHeight=218224 storeHeight=218225
3:00AM INF Replay last block using real app module=consensus server=node
3:00AM INF applying upgrade "v2.0.0" at height: 218225
3:00AM INF executed block height=218225 module=consensus num_invalid_txs=0 num_valid_txs=0 server=node
3:00AM INF commit synced commit=436F6D6D697449447B5B313633203135362035312031313620323338203232382032303720323131203531203739203233392032303120383320323338203130362031313420393920323237203130352032343920313533203132382032333920313820313836203132372031323220313937203233322031313020323535203133345D3A33353437317D
3:00AM INF halting node per configuration height=218225
I believe this was caused by the visibility of the ethermint-v2 repository being private. It's since been made public, so building should work now without any changes.
fixed, by opening private repo to public, see
I believe this was caused by the visibility of the ethermint-v2 repository being private. It's since been made public, so building should work now without any changes.
Docs say to build from checkout
genesis
but it doesn't work, results in error: