Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ jobs:
- run:
name: Build development contracts
command: |
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.12.8
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.13.0
docker cp with_code:/code/artifacts ./artifacts
- run:
name: Show data
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ To compile all the contracts, run the following in the repo root:

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

This will compile all packages in the `contracts` directory and output the stripped and optimized wasm code under the
Expand Down
4 changes: 2 additions & 2 deletions scripts/optimizer.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:

U="cosmwasm"
V="0.12.13"
V="0.13.0"

M=$(uname -m)
#M="x86_64" # Force Intel arch
Expand All @@ -11,6 +11,6 @@ S=${M#x86_64}
S=${S:+-$S}

docker run --platform $A --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
$U/workspace-optimizer$S:$V