From 157748ad8ffec4851820596c00fd229d8b6f6ffe Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Tue, 24 Sep 2024 11:40:00 +0200 Subject: [PATCH] Fix: Avoid full-validation failure / bug in CI --- .github/workflows/local-tests.yml | 4 ++-- contracts/btc-finality/Cargo.toml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/local-tests.yml b/.github/workflows/local-tests.yml index 7e15965..c5437c9 100644 --- a/.github/workflows/local-tests.yml +++ b/.github/workflows/local-tests.yml @@ -13,5 +13,5 @@ jobs: image: rust:1.78.0 steps: - uses: actions/checkout@v4.1.0 - - name: Build contracts, check formats, and run unit tests (with full validation) - run: cargo test --lib --features full-validation + - name: Build staking contract, check formats, and run unit tests (with full validation) + run: cargo test --package btc-staking --lib --features full-validation diff --git a/contracts/btc-finality/Cargo.toml b/contracts/btc-finality/Cargo.toml index 8c72121..d213ed0 100644 --- a/contracts/btc-finality/Cargo.toml +++ b/contracts/btc-finality/Cargo.toml @@ -25,8 +25,6 @@ default = [] cranelift = ["cosmwasm-vm/cranelift"] # for quicker tests, cargo test --lib library = [] -# feature for enabling the full validation -full-validation = [] [dependencies] babylon-apis = { path = "../../packages/apis" }