Skip to content

Commit

Permalink
chore(setup script): update sequencer registration script to new arg …
Browse files Browse the repository at this point in the history
…sequence (#115)
  • Loading branch information
artemijspavlovs authored Aug 24, 2024
1 parent 921a332 commit a29594c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scripts/settlement/register_sequencer_to_hub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ SEQ_PUB_KEY="$("$EXECUTABLE" dymint show-sequencer)"
BOND_AMOUNT="$(dymd q sequencer params -o json --node "$HUB_RPC_URL" | jq -r '.params.min_bond.amount')$(dymd q sequencer params -o json --node "$HUB_RPC_URL" | jq -r '.params.min_bond.denom')"

set -x
dymd tx sequencer create-sequencer "$SEQ_PUB_KEY" "$ROLLAPP_CHAIN_ID" "$DESCRIPTION" "$BOND_AMOUNT" \
--from "$KEY_NAME_SEQUENCER" \
dymd tx sequencer create-sequencer "$SEQ_PUB_KEY" "$ROLLAPP_CHAIN_ID" "$BOND_AMOUNT" "$METADATA_PATH"\
--from "$SEQUENCER_KEY_NAME" \
--keyring-dir "$KEYRING_PATH" \
--keyring-backend test \
--broadcast-mode block \
--node "$HUB_RPC_URL" \
--chain-id "$HUB_CHAIN_ID" \
--fees 1dym \
-y
--gas auto --gas-adjustment 1.2

set +x

0 comments on commit a29594c

Please sign in to comment.