Skip to content

Commit

Permalink
fix: add build setup for validator script
Browse files Browse the repository at this point in the history
  • Loading branch information
JeancarloBarrios committed Oct 17, 2023
1 parent 3e4c624 commit dc57a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/validator_setup/validator_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ KEYRING="${KEYRING:-file}"
KEYPASSWD="${KEYPASSWD:-somepassword}"
CHAIN_ID="${CHAIN_ID:-sedachain}"
NETWORK="${NETWORK:-devnet}"
MONIKER="${MONIKER:-node-test}"
MONIKER="${MONIKER:-node-test2}"
MNEMONIC="mixture alone swear radar gate violin subway wink panther slim photo banana robust quarter client piano topic coin wool shove derive august volume alone"
SEDA_NODE="${SEDA_NODE:-http://35.177.180.184:26657}"
KEY_NAME="${KEY_NAME:-default_key}"
Expand Down Expand Up @@ -55,7 +55,7 @@ if [[ -z "${VALIDATOR}" ]]; then
echo "Creating validator ..."
# (echo $KEYPASSWD) | $BIN tx staking create-validator --amount 10000000seda --pubkey $($BIN tendermint show-validator) --from $KEY_NAME --moniker $MONIKER --min-self-delegation 1 --chain-id $CHAIN_ID --commission-rate $COMMISSION_RATE --commission-max-change-rate $COMMISSION_MAX_CHANGE_RATE --commission-max-rate $COMMISSION_MAX_RATE
(echo $KEYPASSWD; echo -y) | $BIN tx staking create-validator \
--amount=1000000seda\
--amount=100000000000seda\
--pubkey=$($BIN tendermint show-validator) \
--moniker=$MONIKER \
--chain-id=$CHAIN_ID \
Expand Down

0 comments on commit dc57a1c

Please sign in to comment.