From 4387b5683cb48d05ce2b742a17859e4ed83ee0ef Mon Sep 17 00:00:00 2001 From: Assaf Morami Date: Thu, 17 Sep 2020 13:44:06 +0300 Subject: [PATCH] bash also test output data decryption --- cosmwasm/testing/callback-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cosmwasm/testing/callback-test.sh b/cosmwasm/testing/callback-test.sh index d1513de66..ce413099d 100755 --- a/cosmwasm/testing/callback-test.sh +++ b/cosmwasm/testing/callback-test.sh @@ -114,6 +114,12 @@ wait_for_tx "$EXEC_ERR_TX_HASH" "Waiting for exec to finish on-chain..." secretcli q compute tx "$EXEC_ERR_TX_HASH" +# test output data decryption +yes | + secretcli tx compute execute --from a "$CONTRACT_ADDRESS" '{"unicode_data":{}}' -b block | + jq -r .txhash | + xargs secretcli q compute tx + # sleep infinity (