Skip to content

Commit

Permalink
Replace check_contract by cosmwasm-check
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Nov 8, 2022
1 parent bb51878 commit 60f04d9
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,22 +222,17 @@ jobs:
(cd $C && cargo build --release --target wasm32-unknown-unknown --locked --lib)
done
- run:
name: Install check_contract
name: Install cosmwasm-check
# Uses --debug for compilation speed.
command: cargo install --debug --features iterator --example check_contract --version 1.0.0 -- cosmwasm-vm
command: cargo install --debug --version 1.1.5 cosmwasm-check
- save_cache:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-wasm-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Check wasm contracts
command: |
for W in ./target/wasm32-unknown-unknown/release/*.wasm
do
echo -n "Checking $(basename $W) ... "
check_contract --supported-features iterator,staking,stargate,tgrade $W
done
command: cosmwasm-check --supported-features iterator,staking,stargate,tgrade ./target/wasm32-unknown-unknown/release/*.wasm
# This job roughly follows the instructions from https://circleci.com/blog/publishing-to-github-releases-via-circleci/
build_and_upload_contracts:
docker:
Expand Down

0 comments on commit 60f04d9

Please sign in to comment.