---
# System prepended metadata

title: Paloma testing

---

# Paloma testing

```
git clone https://github.com/palomachain/paloma.git

git checkout v0.11.7
make install
palomad init validator --chain-id paloma-1
palomad keys add validator --keyring-backend test
palomad keys add key1 --keyring-backend test
palomad add-genesis-account validator 1000000000000000000000000ugrain --keyring-backend test
palomad add-genesis-account key1 1000000000000000000000000ugrain --keyring-backend test

sed -i "s/172800s/600s/g" ~/.paloma/config/genesis.json


palomad gentx validator 9000000000000000000ugrain --chain-id paloma-1 --keyring-backend test

palomad collect-gentxs

palomad start
```

## upgrade

Submit a governance proposal wait for chain to reach upgrade height

```
palomad tx gov submit-proposal software-upgrade v0.18.1 --upgrade-height 300 --title v0.18.1 --description "testing v0.18.1 upgrade" --deposit 10000000ugrain --from validator --keyring-backend test --chain-id paloma-1
palomad tx gov vote 1 yes --from validator --keyring-backend test --chain-id paloma-1
palomad tx gov vote 1 yes --from key1 --keyring-backend test --chain-id paloma-1

```

After upgrade height hit, stop the node and start the node with new binary

```
git checkout master
git pull origin master
export VERSION=v0.18.1
make install
palomad start
```

After the upgrade, query any gRPC endpoint

```
{
  "code": 2,
  "message": "codespace sdk code 18: invalid request: failed to load state at height 75; version does not exist (latest height: 75)",
  "details": [
  ]
}
```