Skip to content

Commit

Permalink
Merge pull request #16 from InjectiveLabs/MITO-62
Browse files Browse the repository at this point in the history
Fix Serde Json Wasm issue
  • Loading branch information
gorgos authored May 13, 2024
2 parents be2f46d + 9860c8e commit bf8dad9
Show file tree
Hide file tree
Showing 10 changed files with 1,329 additions and 671 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

- name: Check if cw-optimize is installed
run: |
cargo cw-optimizoor --version || cargo install cw-optimizoor
- name: Compile contracts
run: |
cargo cw-optimizoor
- name: Compile WASM contracts
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target wasm32-unknown-unknown --locked --package swap-contract
env:
RUSTFLAGS: "-C link-arg=-s"

- name: Run tests
uses: actions-rs/cargo@v1
Expand Down
Loading

0 comments on commit bf8dad9

Please sign in to comment.