Store WASM Code
This uploads the code for cw1-general, a generic multi-caller contract allowing anyone to execute multiple cosmos messages.
The source code is available at https://github.com/skip-mev/cw-plus/tree/main/contracts/cw1-general
More detailed commonwealth discussion: https://gov.stargaze.zone/discussion/12180-proposal-to-deploy-a-multicaller-contract-cw1
### Compile Instructions
sh<br />docker run --rm -v \$(pwd)\:/code \\<br /> --mount type=volume,source=\$(basename \$(pwd)\)_cache\,target=/target \\<br /> --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \\<br /> cosmwasm/workspace-optimizer:0.13.0<br />
This results in the following SHA256 checksum:
<br />22f2bbea693ead7e37a897ad880bfe7a81e11c1c156c4e7f0261c867a18a993c cw1_general.wasm<br />
### Verify On-chain Contract
sh<br />starsd q gov proposal $id --output json \\<br />| jq -r '.content.wasm_byte_code' \\<br />| base64 -d \\<br />| gzip -dc \\<br />| sha256sum<br />
### Verify Local Contract
<br />sha256sum artifacts/cw1_general.wasm<br />