Optimize CosmWasm Project (Apple ARM Chips)

Optimize a CosmWasm smart contract project. If a workspace with multiple contracts, use workspace-specific version. Requires Docker to be installed and running. Uses the experimental arm64 variant for use with Apple's chips (M1 & M2 Macs, etc).

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-arm64:0.12.8
Tags