diff --git a/framework/packages/abstract-client/Cargo.toml b/framework/packages/abstract-client/Cargo.toml index cba4dc19c..02b0e81aa 100644 --- a/framework/packages/abstract-client/Cargo.toml +++ b/framework/packages/abstract-client/Cargo.toml @@ -17,20 +17,16 @@ version = "0.25.0" workspace = true [features] -default = ["test-utils"] -interchain = [ - "dep:cw-orch-interchain", - "abstract-interface/interchain", - "abstract-interface/testing", -] -test-utils = ["cw-asset", "cw20", "cw20-base", "cw-plus-interface"] +default = [] +interchain = ["dep:cw-orch-interchain", "abstract-interface/interchain"] +test-utils = ["cw-asset", "cw20", "cw20-base", "cw-plus-interface", "abstract-interface/testing"] [dependencies] abstract-interface = { version = "0.25.0", path = "../abstract-interface" } abstract-std.workspace = true cosmwasm-std.workspace = true -cw-orch.workspace = true cw-orch-interchain = { workspace = true, optional = true } +cw-orch.workspace = true semver.workspace = true serde.workspace = true thiserror.workspace = true diff --git a/framework/packages/abstract-client/src/builder.rs b/framework/packages/abstract-client/src/builder.rs index 5f32898cd..c42e9c484 100644 --- a/framework/packages/abstract-client/src/builder.rs +++ b/framework/packages/abstract-client/src/builder.rs @@ -130,7 +130,6 @@ impl AbstractClientBuilder { /// Deploy abstract with current configuration pub fn build(&self) -> AbstractClientResult> { let abstr = Abstract::deploy_on(self.chain.clone(), ())?; - println!("quid"); self.update_ans(&abstr)?; AbstractClient::new(self.chain.clone()) diff --git a/integrations/taplo.toml b/integrations/taplo.toml deleted file mode 100644 index 85e56f12e..000000000 --- a/integrations/taplo.toml +++ /dev/null @@ -1,5 +0,0 @@ -[formatting] -align_entries = true -column_width = 100 -inline_table_expand = false -reorder_keys = true diff --git a/integrations/taplo.toml b/integrations/taplo.toml new file mode 120000 index 000000000..68ea0383d --- /dev/null +++ b/integrations/taplo.toml @@ -0,0 +1 @@ +../taplo.toml \ No newline at end of file diff --git a/interchain/modules-clone-testing/Cargo.toml b/interchain/modules-clone-testing/Cargo.toml index fd5ec21bd..5028ba62e 100644 --- a/interchain/modules-clone-testing/Cargo.toml +++ b/interchain/modules-clone-testing/Cargo.toml @@ -13,8 +13,8 @@ cw-orch-clone-testing = { workspace = true } cw20 = { workspace = true } abstract-app = { workspace = true, features = ["test-utils"] } -abstract-client = { workspace = true } -abstract-interface = { workspace = true, features = ["daemon"] } +abstract-client = { workspace = true, features = ["test-utils"] } +abstract-interface = { workspace = true, features = ["testing", "daemon"] } anyhow = { workspace = true } env_logger = "0.11.3" diff --git a/interchain/modules-clone-testing/src/common.rs b/interchain/modules-clone-testing/src/common.rs index 7ade535ad..da6481d9a 100644 --- a/interchain/modules-clone-testing/src/common.rs +++ b/interchain/modules-clone-testing/src/common.rs @@ -38,7 +38,7 @@ pub fn load_abstr(chain: ChainInfo) -> anyhow::Result anyhow::Result> { let chain_info = ARCHWAY_1; let abstr_deployment = load_abstr(chain_info)?; - // Deploy the dex adapter - DexAdapter::new(DEX_ADAPTER_ID, abstr_deployment.environment()).deploy( - abstract_dex_adapter::contract::CONTRACT_VERSION.parse()?, - DexInstantiateMsg { - recipient_account: 0, - swap_fee: Decimal::permille(3), - }, - DeployStrategy::Try, - )?; + let chain = abstr_deployment.environment(); let asset_a = ( @@ -303,23 +291,11 @@ mod xasset_stable_pool_tests { "archway123h0jfnk3rhhuapkytrzw22u6w4xkf563lqhy42a9r5lmv32w73s8f6ql2"; use super::*; - use abstract_dex_adapter::{interface::DexAdapter, msg::DexInstantiateMsg, DEX_ADAPTER_ID}; - use abstract_interface::AdapterDeployer; - use abstract_interface::DeployStrategy; - use cosmwasm_std::Decimal; fn setup_stable_pool() -> anyhow::Result> { let chain_info = ARCHWAY_1; let abstr_deployment = load_abstr(chain_info)?; - // Deploy the dex adapter - DexAdapter::new(DEX_ADAPTER_ID, abstr_deployment.environment()).deploy( - abstract_dex_adapter::contract::CONTRACT_VERSION.parse()?, - DexInstantiateMsg { - recipient_account: 0, - swap_fee: Decimal::permille(3), - }, - DeployStrategy::Try, - )?; + let chain = abstr_deployment.environment(); let asset_a = ( @@ -420,23 +396,10 @@ mod stable_pool_tests { use cosmwasm_std::coins; use super::*; - use abstract_dex_adapter::{interface::DexAdapter, msg::DexInstantiateMsg, DEX_ADAPTER_ID}; - use abstract_interface::AdapterDeployer; - use abstract_interface::DeployStrategy; - use cosmwasm_std::Decimal; fn setup_stable_pool() -> anyhow::Result> { let chain_info = ARCHWAY_1; let abstr_deployment = load_abstr(chain_info)?; - // Deploy the dex adapter - DexAdapter::new(DEX_ADAPTER_ID, abstr_deployment.environment()).deploy( - abstract_dex_adapter::contract::CONTRACT_VERSION.parse()?, - DexInstantiateMsg { - recipient_account: 0, - swap_fee: Decimal::permille(3), - }, - DeployStrategy::Try, - )?; let chain = abstr_deployment.environment(); let asset_a = ( @@ -581,10 +544,6 @@ mod ratio_pool_tests { use cosmwasm_std::{coins, Uint128}; use super::*; - use abstract_dex_adapter::{interface::DexAdapter, msg::DexInstantiateMsg, DEX_ADAPTER_ID}; - use abstract_interface::AdapterDeployer; - use abstract_interface::DeployStrategy; - use cosmwasm_std::Decimal; // Astrovault ratio calculator reference // @@ -634,15 +593,6 @@ mod ratio_pool_tests { fn setup_ratio_pool() -> anyhow::Result> { let chain_info = ARCHWAY_1; let abstr_deployment = load_abstr(chain_info)?; - // Deploy the dex adapter - DexAdapter::new(DEX_ADAPTER_ID, abstr_deployment.environment()).deploy( - abstract_dex_adapter::contract::CONTRACT_VERSION.parse()?, - DexInstantiateMsg { - recipient_account: 0, - swap_fee: Decimal::permille(3), - }, - DeployStrategy::Try, - )?; let chain = abstr_deployment.environment(); let asset_a = ( diff --git a/interchain/taplo.toml b/interchain/taplo.toml deleted file mode 100644 index 85e56f12e..000000000 --- a/interchain/taplo.toml +++ /dev/null @@ -1,5 +0,0 @@ -[formatting] -align_entries = true -column_width = 100 -inline_table_expand = false -reorder_keys = true diff --git a/interchain/taplo.toml b/interchain/taplo.toml new file mode 120000 index 000000000..68ea0383d --- /dev/null +++ b/interchain/taplo.toml @@ -0,0 +1 @@ +../taplo.toml \ No newline at end of file diff --git a/modules/taplo.toml b/modules/taplo.toml deleted file mode 100644 index 85e56f12e..000000000 --- a/modules/taplo.toml +++ /dev/null @@ -1,5 +0,0 @@ -[formatting] -align_entries = true -column_width = 100 -inline_table_expand = false -reorder_keys = true diff --git a/modules/taplo.toml b/modules/taplo.toml new file mode 120000 index 000000000..68ea0383d --- /dev/null +++ b/modules/taplo.toml @@ -0,0 +1 @@ +../taplo.toml \ No newline at end of file diff --git a/taplo.toml b/taplo.toml new file mode 100644 index 000000000..2c0e2f28c --- /dev/null +++ b/taplo.toml @@ -0,0 +1,7 @@ +exclude = ["workspace-hack/Cargo.toml"] + +[formatting] +align_entries = true +column_width = 100 +inline_table_expand = false +reorder_keys = true