Commit 3752bba3 authored by mdj33's avatar mdj33 Committed by vipwzw

fix ci

parent 39cb4e52
...@@ -203,7 +203,7 @@ function para_create_nodegroup_test() { ...@@ -203,7 +203,7 @@ function para_create_nodegroup_test() {
txhash=$(${PARA_CLI} send para nodegroup -o 3 -i "$id" -k 0xd165c84ed37c2a427fea487470ee671b7a0495d68d82607cafbc6348bf23bec5) txhash=$(${PARA_CLI} send para nodegroup -o 3 -i "$id" -k 0xd165c84ed37c2a427fea487470ee671b7a0495d68d82607cafbc6348bf23bec5)
echo "tx=$txhash" echo "tx=$txhash"
query_tx "${PARA_CLI}" "${txhash}" query_tx "${PARA_CLI}" "${txhash}"
newid=$(${PARA_CLI} para nodegroup_list -s 3 | jq -r ".addrs[0].id") newid=$(${PARA_CLI} para nodegroup_list -s 3 | jq -r ".ids[0].id")
if [ -z "$newid" ]; then if [ -z "$newid" ]; then
${PARA_CLI} para nodegroup_list -s 3 ${PARA_CLI} para nodegroup_list -s 3
echo "quit status error " echo "quit status error "
...@@ -690,7 +690,7 @@ function para_nodemanage_test() { ...@@ -690,7 +690,7 @@ function para_nodemanage_test() {
echo "${hash}" echo "${hash}"
query_tx "${PARA_CLI}" "${hash}" query_tx "${PARA_CLI}" "${hash}"
status=$(${PARA_CLI} para node_list -t user.p.para. -s 3 | jq -r ".addrs[0].targetAddr") status=$(${PARA_CLI} para node_list -t user.p.para. -s 3 | jq -r ".ids[0].targetAddr")
if [ "${status}" != "1E5saiXVb9mW8wcWUUZjsHJPZs5GmdzuSY" ]; then if [ "${status}" != "1E5saiXVb9mW8wcWUUZjsHJPZs5GmdzuSY" ]; then
echo "wrong join status" echo "wrong join status"
${PARA_CLI} para node_list -t user.p.para. -s 3 ${PARA_CLI} para node_list -t user.p.para. -s 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment