Skip to content

Commit dd2ca3d

Browse files
authored
Merge pull request #876 from CosmWasm/upgrade-rust-optimizer-0.13
Upgrade workspace-optimizer to 0.13.0
2 parents fb88067 + b442203 commit dd2ca3d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ jobs:
559559
- run:
560560
name: Build development contracts
561561
command: |
562-
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.12.8
562+
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.13.0
563563
docker cp with_code:/code/artifacts ./artifacts
564564
- run:
565565
name: Show data

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ To compile all the contracts, run the following in the repo root:
102102

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

110110
This will compile all packages in the `contracts` directory and output the stripped and optimized wasm code under the

scripts/optimizer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:
22

33
U="cosmwasm"
4-
V="0.12.13"
4+
V="0.13.0"
55

66
M=$(uname -m)
77
#M="x86_64" # Force Intel arch
@@ -11,6 +11,6 @@ S=${M#x86_64}
1111
S=${S:+-$S}
1212

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

0 commit comments

Comments
 (0)