cosmwasm/workspace-optimizer:0.12.8
. The following command is used:<br /> docker run --rm -v \"$(pwd)\":/code \\<br /> --mount type=volume,source=\"$(basename \"$(pwd)\")_cache\",target=/code/target \\<br /> --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \\<br /> cosmwasm/workspace-optimizer:0.12.8<br />
<br /> # Intermediate<br /> 2443f923abd18671c42cb524c98f0711cfc1df6ce71f8261f1987c1d0d8917d2 ./target/wasm32-unknown-unknown/release/registry_stake.wasm<br /> # Optimized<br /> 7ae0d235e6d80e6326b8a6546f8d826c2ea9c01bcba5cda89d3cf27f0f77835f registry_stake.wasm<br />
<br /> osmosisd q gov proposal $id --output json \\<br /> | jq -r .content.wasm_byte_code \\<br /> | base64 -d \\<br /> | gzip -dc \\<br /> | sha256sum<br />