From 0cb5aeb80a619cc449e782b3e954bd17dfd5f71c Mon Sep 17 00:00:00 2001 From: Son of Odin <2700975-son-of-odin@users.noreply.gitlab.com> Date: Thu, 2 Nov 2023 23:39:24 -0400 Subject: [PATCH] update docker image --- scripts/validator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/validator.sh b/scripts/validator.sh index 22e35826..bf6fd11c 100755 --- a/scripts/validator.sh +++ b/scripts/validator.sh @@ -30,14 +30,14 @@ if [ ! -f ~/.arkeo/config/genesis.json ]; then done # fetch genesis file from seed node - curl -sL "$RPC/genesis" | jq '.result.genesis' > ~/.arkeo/config/genesis.json + curl -sL "$RPC/genesis" | jq '.result.genesis' >~/.arkeo/config/genesis.json # fetch node id SEED_ID=$(curl -sL "$RPC/status" | jq -r .result.node_info.id) SEEDS="$SEED_ID@$SEED" sed -i 's/enable = false/enable = true/g' ~/.arkeo/config/app.toml - sed -i "s/seeds = \"\"/seeds = \"$PEER_ID@$SEED\"/g" ~/.arkeo/config/config.toml + sed -i "s/seeds = \"\"/seeds = \"$PEER_ID@$SEED\"/g" ~/.arkeo/config/config.toml # TODO: create this one as a validator # arkeod tx staking create-validator --amount=100000000000uarkeo --pubkey=$(arkeod tendermint show-validator) --moniker="validator 1" --from=bob --keyring-backend test --commission-rate="0.10" --commission-max-rate="0.20" --commission-max-change-rate="0.01" --min-self-delegation="1" fi