Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cosmwasm rustoptimizer to 0.12.6, avoid aarch64 wasms in prod #78

Open
sascha1337 opened this issue May 19, 2022 · 0 comments
Open

Comments

@sascha1337
Copy link

Refs:

cosmwasm/rust-optimizer:0.12.5

https://github.com/CosmosContracts/juno/actions/runs/2350428096/workflow#L20

CosmWasm/optimizer@1d4bd67

  • uses latest stable rust:1.60.0-alpine
  • includes an important (!) warning, regarding unsafe/unpredictable implications that can occur, if aarch64 built wasm blobs are being used in production

⚠️ I highly recommend anyone to use the default Linux/amd64 docker image, to build contracts on M1 / arm64 machines. Qemu is being used automatically if needed. Ignore the docker warning inside the log. If it does not work, try the following fixes:

  1. Enable Rosetta on your M1 machine
  2. Increase GB ram allocation on Docker Desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant