Commit 2b38c5d4 authored by vipwzw's avatar vipwzw

auto ci

parent a17afe2a
...@@ -339,10 +339,10 @@ function rpc_test() { ...@@ -339,10 +339,10 @@ function rpc_test() {
system_test_rpc "http://${1}:8801" system_test_rpc "http://${1}:8801"
dapp_test_rpc "http://${1}:8801" dapp_test_rpc "http://${1}:8801"
fi fi
# if [ "$DAPP" == "paracross" ]; then # if [ "$DAPP" == "paracross" ]; then
# system_test_rpc "http://${1}:8901" # system_test_rpc "http://${1}:8901"
# dapp_test_rpc "http://${1}:8901" # dapp_test_rpc "http://${1}:8901"
# fi # fi
} }
function dapp_run() { function dapp_run() {
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
MAIN_HTTP="" MAIN_HTTP=""
CASE_ERR="" CASE_ERR=""
# $2=0 means true, other false # $2=0 means true, other false
echo_rst() { echo_rst() {
if [ "$2" -eq 0 ]; then if [ "$2" -eq 0 ]; then
......
...@@ -113,7 +113,7 @@ sendTx() { ...@@ -113,7 +113,7 @@ sendTx() {
err=$(jq '(.error)' <<<"$resp") err=$(jq '(.error)' <<<"$resp")
txhash=$(jq -r ".result" <<<"$resp") txhash=$(jq -r ".result" <<<"$resp")
if [ "$err" == null ]; then if [ "$err" == null ]; then
# echo "tx hash: $txhash" # echo "tx hash: $txhash"
query_tx "$txhash" query_tx "$txhash"
else else
echo "send tx error:$err" echo "send tx error:$err"
......
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