Skip to content

Commit 5724521

Browse files
authored
add step to optimize contracts for local-ic tests (#193)
1 parent 72cf7d8 commit 5724521

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

devtools/optimize.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
if [[ $(uname -m) =~ "arm64" ]]; then \
44
docker run --rm -v "$(pwd)":/code \

local-interchaintest/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ local-ic start neutron_juno --api-port 42069
1818

1919
This will start a local environment with a Gaia chain, a Neutron (using ICS) chain and a Juno chain. The `--api-port` will expose the API on port 42069, we are using this port in our local-ic-utils crate so let's use the same to reuse some of the utils there.
2020

21+
## Optimize Contracts
22+
23+
Use CosmWasm optimizer to optimize contracts and store the results in `./artifacts`
24+
25+
``` bash
26+
just optimize
27+
```
28+
2129
## Running tests
2230

2331
Once you have your tests written, you can run them using the following command from the workspace directory, here I'm running the `polytone` tests that are in the `examples` folder:

0 commit comments

Comments
 (0)