Skip to content

Commit

Permalink
update bank send cli params
Browse files Browse the repository at this point in the history
  • Loading branch information
tj327 committed Nov 22, 2023
1 parent e4e3acb commit 06205bd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ VALIDATOR_ADDRESS=$(showAddress validator)
addAccount testuser2
TESTUSER_ADDRESS=$(showAddress testuser2)

BLOCK_HEIGHT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=block --output=json --yes --home=$SEKAID_HOME | jsonQuickParse "height" 2> /dev/null || exit 1)
BLOCK_HEIGHT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=async --output=json --yes --home=$SEKAID_HOME | jsonQuickParse "height" 2> /dev/null || exit 1)
BLOCK_HASH=$(sekaid query block $BLOCK_HEIGHT | jq '.block_id.hash' | tr -d '"')

INTERX_GATEWAY="127.0.0.1:11000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ VALIDATOR_ADDRESS=$(showAddress validator)
addAccount testuser3
TESTUSER_ADDRESS=$(showAddress testuser3)

RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=async --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)

BLOCK_HEIGHT=$(echo $RESULT | jsonQuickParse "height" | tr -d '"')
TX_HASH=$(echo $RESULT | jsonQuickParse "txhash" | tr -d '"')
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-local/Transactions/query-blocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ VALIDATOR_ADDRESS=$(showAddress validator)
addAccount testuser4
TESTUSER_ADDRESS=$(showAddress testuser4)

TXRESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
TXRESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=async --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
TX_ID=$(echo $TXRESULT | jsonQuickParse "txhash")
BLOCK_HEIGHT=$(echo $TXRESULT | jsonQuickParse "height")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ VALIDATOR_ADDRESS=$(showAddress validator)
addAccount testuser5
TESTUSER_ADDRESS=$(showAddress testuser5)

RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=async --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
TX_HASH=$(echo $RESULT | jsonQuickParse "txhash" | tr -d '"')

INTERX_GATEWAY="127.0.0.1:11000"
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-local/Transactions/query-transactions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echoInfo "INFO: $TEST_NAME - Integration Test - START"
VALIDATOR_ADDRESS=$(showAddress validator)
addAccount testuser9
TESTUSER_ADDRESS=$(showAddress testuser9)
RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=async --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
TX_HASH=0x$(echo $RESULT | jsonQuickParse "txhash" | tr -d '"')

INTERX_GATEWAY="127.0.0.1:11000"
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-local/Transactions/transaction-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ VALIDATOR_ADDRESS=$(showAddress validator)
addAccount testuser8
TESTUSER_ADDRESS=$(showAddress testuser8)

TXRESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
TXRESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=async --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
TX_ID=$(echo $TXRESULT | jsonQuickParse "txhash")
BLOCK_HEIGHT=$(echo $TXRESULT | jsonQuickParse "height")
echo $TX_ID
Expand Down

0 comments on commit 06205bd

Please sign in to comment.