Skip to content

Commit

Permalink
terra: uses tr instead of bash 4 feature in verify script
Browse files Browse the repository at this point in the history
  • Loading branch information
scnale authored and evan-gray committed Jan 30, 2024
1 parent 8628a9a commit ef0ab69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions terra/verify
Original file line number Diff line number Diff line change
Expand Up @@ -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):"
Expand Down

0 comments on commit ef0ab69

Please sign in to comment.