You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Realized a couple of pain points IRT localosmosis with mainnet state
Uses a key that isn't in the key script, need to add this
64GB RAM machine still OOMs on initial block, needed to add some swap
Uses chain id local instead of localosmosis
Had to redo this because localosmosis with mainnet state does not use the .osmosisd folder, so upgrading the container in its current form is impossible.
Spun up testnet with osmosis mainnet state using localosmosis v11.0.1
Now need to submit upgrade prop:
osmosisd tx gov submit-proposal software-upgrade v12 --title "v12 upgrade" --description "v12 upgrade test" --upgrade-height 5882855 --upgrade-info "" --chain-id localosmosis --deposit 1600000000uosmo --from Val --keyring-backend test -b block
osmosisd tx gov vote 327 yes --from val --yes -b block --chain-id localosmosis --from Val --keyring-backend test
Prop passes after 3 mins
Wait till height, ensure halt
UPGRADE "v12" NEEDED at height: 5882855:
Upgrade to v12.x (rc0 has bug)
Time it takes from start to first block: 30 seconds
Here are the logs one will see when waiting to upgrade
10:45PM INF starting ABCI with Tendermint
10:45PM INF Upgrading IAVL storage for faster queries + execution on live state. This may take a while co
mmit=436F6D6D697449447B5B5D3A307D is_lazy=false store_key="KVStoreKey{0xc000e86ef0, twap}" version=588285
5
10:45PM INF service start impl=multiAppConn module=proxy msg={}
10:45PM INF service start connection=query impl=localClient module=abci-client msg={}
10:45PM INF service start connection=snapshot impl=localClient module=abci-client msg={}
10:45PM INF service start connection=mempool impl=localClient module=abci-client msg={}
10:45PM INF service start connection=consensus impl=localClient module=abci-client msg={}
10:45PM INF service start impl=EventBus module=events msg={}
10:45PM INF service start impl=PubSub module=pubsub msg={}
10:45PM INF service start impl=IndexerService module=txindex msg={}
10:45PM INF ABCI Handshake App Info hash="�6g\x04�}T�\\՚ye�˽�+m\ajq\x1c\x13uHrr\x1c�J�" height=5882854 mo
dule=consensus protocol-version=0 software-version=12.0.0-rc0-1-g4f4ec256
10:45PM INF ABCI Replay Blocks appHeight=5882854 module=consensus stateHeight=5882854 storeHeight=5882855
10:45PM INF Replay last block using real app module=consensus
10:45PM INF applying upgrade "v12" at height: 5882855
10:45PM INF Start running migrations
10:45PM INF Running migration for module: gov, fromVersion 3, toVersion 4
10:45PM INF Running migration for module: staking, fromVersion 2, toVersion 3
10:45PM INF Running migration for module: transfer, fromVersion 1, toVersion 2
10:45PM INF Running migration for module: twap, InitGenesis (on default genesis) toVersion 1
10:45PM INF executed block height=5882855 module=consensus num_invalid_txs=0 num_valid_txs=0
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Realized a couple of pain points IRT localosmosis with mainnet state
Spun up testnet with osmosis mainnet state using localosmosis v11.0.1
Now need to submit upgrade prop:
Prop passes after 3 mins
Wait till height, ensure halt
Upgrade to v12.x (rc0 has bug)
Time it takes from start to first block: 30 seconds
Here are the logs one will see when waiting to upgrade
Beta Was this translation helpful? Give feedback.
All reactions