Skip to content

Commit

Permalink
update docker image (#255)
Browse files Browse the repository at this point in the history
Co-authored-by: Son of Odin <[email protected]>
  • Loading branch information
cbarraford and Son of Odin authored Nov 3, 2023
1 parent 8cbd850 commit f9a4760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9a4760

Please sign in to comment.