You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TX_ENTRY=$(jq -c --arg name "$CONTRACT_NAME"'[.transactions[] | select(.transactionType=="CREATE" and .contractName==$name)][-1]'"$RUN_JSON")
58
-
[[ "$TX_ENTRY"!="null" ]] || { echo"no CREATE tx found for $CONTRACT_NAME in $RUN_JSON";exit 1; }
57
+
TX_ENTRY=$(jq -c --arg name "$CONTRACT_NAME"'[.transactions[] | select(.transactionType==("CREATE","CREATE2") and .contractName==$name)][-1]'"$RUN_JSON")
58
+
[[ "$TX_ENTRY"!="null" ]] || { echo"no CREATE/CREATE2 tx found for $CONTRACT_NAME in $RUN_JSON";exit 1; }
0 commit comments