Optimize CosmWasm Project

Optimize a CosmWasm smart contract project. If a workspace with multiple contracts, use workspace-specific version. Requires Docker to be installed and running.

Authored by: chadoh
Brought to you by Warp, a free terminal reimagined to work like a modern app.

Command
Copy
docker run --rm -v "$(pwd)":/code --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry cosmwasm/rust-optimizer:0.12.10
Tags