Upgrade proposal detected

Uptick Uptick

Uptick is a decentralized mobile NFT marketplace powered by the Uptick netowork. As a leading decentralized NFT platform dedicated to creative economy in web 3.0 era, Uptick focuses on pan-entertainment and liferstyle industries. The managed NFT assets include but not limited to crypto art, digital collectibles, e-tickets, virtual goods, music, video, e-publication, and fans economy.

State sync

Basic information

RPC server:

https://uptick-rpc.brocha.in:443

Peer:

94b63fd[email protected]:30601

Stop the service and reset the data

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

Get and configure the state sync information

STATE_SYNC_RPC=https://uptick-rpc.brocha.in:443
STATE_SYNC_PEER=94b63fddfc78230f51aeb7ac34b9fb86bd042a77@uptick-rpc.p2p.brocha.in:30601
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000))
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/.uptickd/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
  $HOME/.uptickd/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
  $HOME/.uptickd/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
  $HOME/.uptickd/config/config.toml
sed -i.bak -e "s|^persistent_peers *=.*|persistent_peers = \"$STATE_SYNC_PEER\"|" \
  $HOME/.uptickd/config/config.toml

Restart the service and check the log

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