terra: uses `tr` instead of bash 4 feature in `verify` script

This commit is contained in:
Sebastián Claudio Nale 2024-01-29 22:05:23 -03:00 committed by Evan Gray
parent 8628a9afdb
commit ef0ab69208
1 changed files with 1 additions and 2 deletions

View File

@ -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):"