Skip to content

Commit

Permalink
chore: Replies test contract (#2306)
Browse files Browse the repository at this point in the history
  • Loading branch information
kulikthebird authored Dec 20, 2024
1 parent 4da538d commit c8b633e
Show file tree
Hide file tree
Showing 21 changed files with 1,721 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ workflows:
- contract_crypto_verify
- contract_cyberpunk
- contract_empty
- contract_replier
# - contract_floaty # This contract needs nightly Rust to compile
- contract_hackatom
- contract_ibc_callbacks
Expand Down Expand Up @@ -597,6 +598,34 @@ jobs:
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_burner-rust:1.74-{{ checksum "Cargo.lock" }}

contract_replier:
docker:
- image: rust:1.74
environment:
RUST_BACKTRACE: 1
working_directory: ~/cosmwasm/contracts/replier
steps:
- checkout:
path: ~/cosmwasm
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-v2-contract_replier-rust:1.74-{{ checksum "Cargo.lock" }}
- check_contract:
min_version: "1.4"
- save_cache:
paths:
- /usr/local/cargo/registry
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
- target/wasm32-unknown-unknown/release/.fingerprint
- target/wasm32-unknown-unknown/release/build
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_replier-rust:1.74-{{ checksum "Cargo.lock" }}

contract_crypto_verify:
docker:
- image: rust:1.74
Expand Down
6 changes: 6 additions & 0 deletions contracts/replier/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[alias]
wasm = "build --release --lib --target wasm32-unknown-unknown"
wasm-debug = "build --lib --target wasm32-unknown-unknown"
unit-test = "test --lib"
integration-test = "test --test integration"
schema = "run --bin schema"
Loading

0 comments on commit c8b633e

Please sign in to comment.