Services | LiveRaveN
  • 😎Introduction
  • ⛓️Supported networks
  • 💰Cosmos Mainnets
    • Andromeda Protocol
      • Services
      • State Sync
      • Management
      • Governance
      • Maintenance
    • Empower Chain
      • Services
      • Snapshot
      • State Sync
    • Gitopia
      • Services
      • Snapshot
      • State Sync
    • Kyve
      • Services
      • Snapshot
      • State Sync
      • Upgrade Path
    • Nibiru
      • Services
      • Snapshot
      • State Sync
    • Nolus
      • Services
      • Snapshot
      • State Sync
    • Rebus Chain
      • Services
      • Snapshot
      • State Sync
    • Uptick Network
      • Services
      • Snapshot
      • State Sync
  • 💻Cosmos Testnets
    • Arkeo
      • Services
      • Snapshot
      • State Sync
    • Elys Network
      • Services
      • Snapshot
      • State Sync
    • Fiamma
      • Services
      • Snapshot
      • State Sync
      • Management
      • Governance
      • Maintenance
    • Initia
      • Services
      • Snapshot
      • State Sync
      • Management
      • Governance
      • Maintenance
    • Lava Network
      • Services
      • Snapshot
      • State Sync
    • Mantra Chain
      • Services
      • Snapshot
      • State Sync
      • Management
      • Governance
      • Maintenance
    • Namada
      • Services
      • Snapshot
      • Active IBC Channels
      • RPC Scanner
    • Side Protocol
      • Services
      • Snapshot
      • State Sync
      • Management
      • Governance
      • Maintenance
    • Union
      • Services
      • Snapshot
      • State Sync
      • Management
      • Governance
      • Maintenance
    • Warden Protocol
      • Services
      • Snapshot
      • State Sync
      • Management
      • Governance
      • Maintenance
    • Zero Gravity
      • Services
      • Snapshot
      • State Sync
      • Management
      • Governance
      • Maintenance
    • And more to come...
  • Mainnets
    • And here...
  • Testnets
Powered by GitBook
On this page
  • GET VALIDATOR INFO
  • GET SYNC INFO
  • GET NODE PEER
  • CHECK IF VALIDATOR KEY IS CORRECT
  • GET LIVE PEERS
  • SET MINIMUM GAS PRICE
  • ENABLE PROMETHEUS
  • RESET CHAIN DATA - !!!BE CAREFUL HERE!!!
  • REMOVE NODE
  1. Cosmos Testnets
  2. Fiamma

Maintenance

UPDATE PORTS

CUSTOM_PORT=11

set custom ports in config.toml file

sed -i.bak -e "s%:26658%:${CUSTOM_PORT}658%g;
s%:26657%:${CUSTOM_PORT}657%g;
s%:6060%:${CUSTOM_PORT}060%g;
s%:26656%:${CUSTOM_PORT}656%g;
s%:26660%:${CUSTOM_PORT}660%g" $HOME/.fiamma/config/config.toml

set custom ports in app.toml

sed -i.bak -e "s%:1317%:${CUSTOM_PORT}317%g;
s%:8080%:${CUSTOM_PORT}080%g;
s%:9090%:${CUSTOM_PORT}090%g;
s%:9091%:${CUSTOM_PORT}091%g;
s%:8545%:${CUSTOM_PORT}545%g;
s%:8546%:${CUSTOM_PORT}546%g;
s%:6065%:${CUSTOM_PORT}065%g" $HOME/.fiamma/config/app.toml

set custom ports in client.toml file

sed -i.bak -e "s%:26657%:${CUSTOM_PORT}657%g" $HOME/.fiamma/config/client.toml

UPDATE INDEXER

Disable indexer

sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.fiamma/config/config.toml

Enable indexer

sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.fiamma/config/config.toml

UPDATE PRUNING

sed -i   -e 's|^pruning *=.*|pruning = "custom"|' \
  -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
  -e 's|^pruning-keep-every *=.*|pruning-keep-every = "0"|' \
  -e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
  $HOME/.fiamma/config/app.toml

GET VALIDATOR INFO

fiammad status 2>&1 | jq .ValidatorInfo

GET SYNC INFO

fiammad status 2>&1 | jq .SyncInfo

GET NODE PEER

echo $(fiammad tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.fiamma/config/config.toml \
| sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

CHECK IF VALIDATOR KEY IS CORRECT

[[ $(fiammad q staking validator $(fiammad keys show wallet --bech val -a) -oj \
| jq -r .consensus_pubkey.key) = $(fiammad status | jq -r .ValidatorInfo.PubKey.value) ]] \
&& echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"

GET LIVE PEERS

curl -sS http://localhost:15657/net_info \
| jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' \
| awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||'

SET MINIMUM GAS PRICE

sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.00001ufiaufia\"/" $HOME/.fiamma/config/app.toml

ENABLE PROMETHEUS

sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.fiamma/config/config.toml

RESET CHAIN DATA - !!!BE CAREFUL HERE!!!

fiammad tendermint unsafe-reset-all --keep-addr-book --home $HOME/.fiamma --keep-addr-book

REMOVE NODE

Please, before proceeding with the next step! All chain data will be lost! Make sure you have backed up your priv_validator_key.json!

cd $HOME
sudo systemctl stop fiammad.service
sudo systemctl disable fiammad.service
sudo rm /etc/systemd/system/fiammad.service
sudo systemctl daemon-reload
rm -f $(which fiammad)
rm -rf $HOME/.fiamma
rm -rf $HOME/fiammad

RELOAD SERVICE CONFIGURATION

sudo systemctl daemon-reload

ENABLE SERVICE

sudo systemctl enable fiammad.service

DISABLE SERVICE

sudo systemctl disable fiammad.service

START SERVICE

sudo systemctl start fiammad.service

STOP SERVICE

sudo systemctl stop fiammad.service

RESTART SERVICE

sudo systemctl restart fiammad.service

CHECK SERVICE STATUS

sudo systemctl status fiammad.service

CHECK SERVICE LOGS

sudo journalctl -u fiammad.service -f --no-hostname -o cat --since 1h
PreviousGovernanceNextInitia

Last updated 9 months ago

💻