From ef0ab69208502cabd566527aa74320fa567e4061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Claudio=20Nale?= Date: Mon, 29 Jan 2024 22:05:23 -0300 Subject: [PATCH] terra: uses `tr` instead of bash 4 feature in `verify` script --- terra/verify | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/terra/verify b/terra/verify index 37b84b1c5..f3d9f14b7 100755 --- a/terra/verify +++ b/terra/verify @@ -45,8 +45,7 @@ obj_file=$1 code_id=$2 -hash1uppercased=`curl "$url"/cosmwasm/wasm/v1/code/"$code_id" --silent | jq '.code_info.data_hash' -r` -hash1=${hash1uppercased,,} +hash1=`curl "$url"/cosmwasm/wasm/v1/code/"$code_id" --silent | jq '.code_info.data_hash' -r | tr '[:upper:]' '[:lower:]'` hash2=`sha256sum $obj_file | cut -f1 -d' '` echo "Deployed bytecode hash (on $network):"