Commit b6b5fd50 authored by vipwzw's avatar vipwzw Committed by 33cn

auto ci

parent 59a23feb
...@@ -139,7 +139,7 @@ function evm_callContract() { ...@@ -139,7 +139,7 @@ function evm_callContract() {
function evm_abiGet() { function evm_abiGet() {
abiInfo=$(curl -s --data-binary '{"jsonrpc":"2.0","id":2,"method":"Chain33.Query","params":[{"execer":"evm","funcName":"QueryABI","payload":{"address":"'${evm_contractAddr}'"}}]}' -H 'content-type:text/plain;' ${MAIN_HTTP}) abiInfo=$(curl -s --data-binary '{"jsonrpc":"2.0","id":2,"method":"Chain33.Query","params":[{"execer":"evm","funcName":"QueryABI","payload":{"address":"'${evm_contractAddr}'"}}]}' -H 'content-type:text/plain;' ${MAIN_HTTP})
res=$(echo "${abiInfo}" | jq -r ".result" | jq -r 'has("abi")') res=$(echo "${abiInfo}" | jq -r ".result" | jq -r 'has("abi")')
if [ "${res}" == "true" ]; then if [ "${res}" == "true" ]; then
echo_rst "CallContract queryExecRes" 0 echo_rst "CallContract queryExecRes" 0
else else
......
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