diff --git a/scripts/settlement/register_sequencer_to_hub.sh b/scripts/settlement/register_sequencer_to_hub.sh index 479f67e..64e36ed 100644 --- a/scripts/settlement/register_sequencer_to_hub.sh +++ b/scripts/settlement/register_sequencer_to_hub.sh @@ -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