Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Replies test contract #2306

Merged
merged 4 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading