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

Fix docker run script in all contract README #69

Closed
ethanfrey opened this issue Aug 30, 2020 · 1 comment
Closed

Fix docker run script in all contract README #69

ethanfrey opened this issue Aug 30, 2020 · 1 comment
Assignees

Comments

@ethanfrey
Copy link
Member

We no longer need something like:

docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="cosmwasm_plus_cache",target=/code/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/rust-optimizer:0.9.0 ./contracts/cw20-atomic-swap

but rather:

docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="cosmwasm_plus_cache",target=/code/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/workspace-optimizer:0.10.2 

And the output is artifacts/cw20_staking.wasm

This should be updated in all contracts

@ethanfrey ethanfrey mentioned this issue Aug 30, 2020
@maurolacy maurolacy self-assigned this Aug 30, 2020
@maurolacy
Copy link
Contributor

PR: #71.

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

2 participants