Non-essential changes, but improves error handling in query cases.
Also adds checksums file to releases so it can be verified.
Link to audit: https://github.com/securityDAO/audits/blob/main/cosmwasm/cw-unity-prop/v0.4_cw-unity-prop_audit.pdf
To use:
export WALLET="<wallet-name>"
export TXFLAG="--gas-prices 0.1ujuno --gas auto --gas-adjustment 1.3 -y -b block --chain-id juno-1"
# get wasm and store
mkdir cw-unity-prop && cd cw-unity-prop
wget https://github.com/CosmosContracts/cw-unity-prop/releases/download/v0.3.0/cw_unity_prop.wasm
UNITY_PROP_CODE_ID=$(junod tx wasm store "cw_unity_prop.wasm" --from $WALLET $TXFLAG --output json | jq -r '.logs[0].events[-1].attributes[0].value')
# init it
INIT='{
"native_denom": "ujuno",
"withdraw_address": "<admin-address>",
"withdraw_delay_in_days": 28
}'
junod tx wasm instantiate $UNITY_PROP_CODE_ID "$INIT" --from $WALLET --label "Juno Unity Prop v0.3.0" $TXFLAG --no-admin
What's Changed
Full Changelog: v0.2.0...v0.3.0