From bd6357ac008e57fe19726b9748793630bbb0024f Mon Sep 17 00:00:00 2001 From: Joe Monem Date: Fri, 3 Jan 2025 13:09:32 +0200 Subject: [PATCH] ref: remove default testing from weighted splitter --- .../andromeda-weighted-distribution-splitter/Cargo.toml | 4 ++-- .../andromeda-weighted-distribution-splitter/src/mock.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contracts/finance/andromeda-weighted-distribution-splitter/Cargo.toml b/contracts/finance/andromeda-weighted-distribution-splitter/Cargo.toml index 2b9961446..5d051c785 100644 --- a/contracts/finance/andromeda-weighted-distribution-splitter/Cargo.toml +++ b/contracts/finance/andromeda-weighted-distribution-splitter/Cargo.toml @@ -13,7 +13,6 @@ backtraces = ["cosmwasm-std/backtraces"] # use library feature to disable all instantiate/execute/query exports library = [] testing = ["cw-multi-test", "andromeda-testing"] -default = ["testing"] [dependencies] @@ -26,9 +25,10 @@ andromeda-std = { workspace = true } andromeda-finance = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] +andromeda-testing = { workspace = true, optional = true } cw-multi-test = { workspace = true, optional = true } cw-orch = { workspace = true } -andromeda-testing = { workspace = true, optional = true } + [dev-dependencies] andromeda-app = { workspace = true } diff --git a/contracts/finance/andromeda-weighted-distribution-splitter/src/mock.rs b/contracts/finance/andromeda-weighted-distribution-splitter/src/mock.rs index 2e9cc8797..5fa188503 100644 --- a/contracts/finance/andromeda-weighted-distribution-splitter/src/mock.rs +++ b/contracts/finance/andromeda-weighted-distribution-splitter/src/mock.rs @@ -1,4 +1,5 @@ #![cfg(all(not(target_arch = "wasm32"), feature = "testing"))] + use crate::contract::{execute, instantiate, query, reply}; use andromeda_finance::weighted_splitter::{AddressWeight, ExecuteMsg, InstantiateMsg, QueryMsg}; use andromeda_std::{amp::Recipient, common::expiration::Expiry};