Upgrade proposal detected

dYmension dYmension

Dymension is a home for easily deployable and lightning fast app-chains, called RollApps. Easily deploy your own consensus-free blockchain and accrue more token value with greater security. Scale just like traditional low latent servers by outsourcing consensus to the dymension hub.

State sync

Basic information

RPC server:



[email protected]p.brocha.in:30585

Stop the service and reset the data

sudo systemctl stop dymd
cp $HOME/.dymension/data/priv_validator_state.json $HOME/.dymension/priv_validator_state.json.backup
rm -rf $HOME/.dymension/data/*
mv $HOME/.dymension/priv_validator_state.json.backup $HOME/.dymension/data/priv_validator_state.json

Get and configure the state sync information

[email protected]on-state-sync.p2p.brocha.in:30585
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)

sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.dymension/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
sed -i.bak -e "s|^persistent_peers *=.*|persistent_peers = \"$STATE_SYNC_PEER\"|" \

Restart the service and check the log

sudo systemctl restart dymd
sudo journalctl -u dymd -f --no-hostname -o cat