File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -248,6 +248,16 @@ pushchaind query bank balances $NODE_OWNER_WALLET --chain-id $CHAIN_NAME --keyr
248248# 2 register validator with stake
249249# pn1.dev.push.org - is the existing public node with api
250250pushchaind tx staking create-validator register-validator.json --chain-id $CHAIN_NAME --fees 500000npush --from $NODE_OWNER_WALLET_NAME --node=tcp://pn1.dev.push.org:26657
251+ # check that tx was successful
252+ # check that code=0 and raw_log=""
253+ export TX_ID= # from above
254+ pushchaind query tx $TX_ID --chain-id $CHAIN_NAME --output json | jq ' {code, raw_log}'
255+ # check that validator got bonded tokens
256+ # the output should contain
257+ # moniker: YOUR VALIDATOR NAME
258+ # status: BOND_STATUS_BONDED
259+ # replace pn2 with validator name:
260+ pushchaind query staking validators --output json | jq ' .validators[] | select(.description.moniker=="pn2")'
251261```
252262New node
253263``` sh
You can’t perform that action at this time.
0 commit comments