diff --git a/interchain/Cargo.lock b/interchain/Cargo.lock index 0cf9040b7..3f40e64f1 100644 --- a/interchain/Cargo.lock +++ b/interchain/Cargo.lock @@ -536,19 +536,12 @@ name = "abstract-oracle-adapter" version = "0.26.0" dependencies = [ "abstract-adapter", - "abstract-adapter-utils", "abstract-client", "abstract-oracle-standard", "abstract-pyth-adapter", "cosmwasm-schema", "cosmwasm-std", - "cw-asset", "cw-orch 0.27.0", - "cw-storage-plus", - "cw20", - "schemars", - "serde_json", - "thiserror 1.0.69", ] [[package]] diff --git a/modules/Cargo.lock b/modules/Cargo.lock index 16a4588c0..5cc27f291 100644 --- a/modules/Cargo.lock +++ b/modules/Cargo.lock @@ -479,7 +479,6 @@ name = "abstract-oracle-adapter" version = "0.26.0" dependencies = [ "abstract-adapter", - "abstract-adapter-utils", "abstract-client", "abstract-interface", "abstract-oracle-adapter", @@ -490,19 +489,13 @@ dependencies = [ "clap 4.5.23", "cosmwasm-schema", "cosmwasm-std", - "cw-asset", "cw-orch 0.27.0", - "cw-orch-osmosis-test-tube", - "cw-storage-plus", "cw-utils", "cw20", "cw20-base", "dotenv", "env_logger 0.11.5", - "schemars", "semver", - "serde_json", - "thiserror 1.0.69", "tokio", ] diff --git a/modules/contracts/adapters/oracle/Cargo.toml b/modules/contracts/adapters/oracle/Cargo.toml index 1ee850fee..ba363a7bb 100644 --- a/modules/contracts/adapters/oracle/Cargo.toml +++ b/modules/contracts/adapters/oracle/Cargo.toml @@ -1,13 +1,13 @@ [package] description = "The oracle adapter is an Abstract adapter for querying oracle prices. It provides a common interface for all oracles" -name = "abstract-oracle-adapter" +name = "abstract-oracle-adapter" authors = { workspace = true } edition = { workspace = true } license = { workspace = true } version = { workspace = true } -exclude = ["contract.wasm", "hash.txt"] +exclude = ["contract.wasm", "hash.txt"] resolver = "2" @@ -18,19 +18,14 @@ crate-type = ["cdylib", "rlib"] name = "deploy" [[example]] -name = "schema" +name = "schema" required-features = ["schema"] [features] default = ["export"] -export = [] -schema = ["abstract-adapter/schema"] -testing = [ - "dep:abstract-client", - "dep:cw20", - "dep:serde_json", - "abstract-adapter/test-utils", -] +export = [] +schema = ["abstract-adapter/schema"] +testing = ["dep:abstract-client", "abstract-adapter/test-utils"] # Supported Oracles pyth = ["abstract-pyth-adapter/full_integration"] @@ -38,31 +33,18 @@ pyth = ["abstract-pyth-adapter/full_integration"] # Builds [package.metadata.optimizer] builds = [ - { name = "xion", features = [ - "pyth", - ] }, - { name = "neutron", features = [ - "pyth", - ] }, - { name = "osmosis", features = [ - "pyth", - ] }, + { name = "xion", features = ["pyth"] }, + { name = "neutron", features = ["pyth"] }, + { name = "osmosis", features = ["pyth"] }, ] [dependencies] abstract-adapter = { workspace = true } -cosmwasm-schema = { workspace = true } -cosmwasm-std = { workspace = true } -cw-asset = { workspace = true } -cw-orch = { workspace = true, features = ["daemon"] } -cw-orch-osmosis-test-tube = { workspace = true, optional = true } -cw-storage-plus = { workspace = true } -cw20 = { workspace = true, optional = true } -schemars = { workspace = true } -thiserror = { workspace = true } +cosmwasm-schema = { workspace = true } +cosmwasm-std = { workspace = true } +cw-orch = { workspace = true, features = ["daemon"] } # Local -abstract-adapter-utils = { workspace = true } abstract-oracle-standard = { workspace = true } # Pyth @@ -70,24 +52,20 @@ abstract-pyth-adapter = { path = "../../../../integrations/oracles/pyth" } # Testing # abstract-client = { workspace = true, optional = true } -serde_json = { version = "1.0", optional = true } [dev-dependencies] abstract-interface = { workspace = true, features = ["daemon"] } -anyhow = { workspace = true } -clap = { workspace = true } -dotenv = "0.15.0" -env_logger = "0.11.3" -semver = { workspace = true } -tokio = { workspace = true } - -bip32 = { version = "0.5.2" } -oracle = { path = ".", features = [ - "pyth", - "testing", -], package = "abstract-oracle-adapter" } - - -cw-utils = { workspace = true } -cw20 = { workspace = true } +anyhow = { workspace = true } +clap = { workspace = true } +dotenv = "0.15.0" +env_logger = "0.11.3" +semver = { workspace = true } +tokio = { workspace = true } + +bip32 = { version = "0.5.2" } +oracle = { path = ".", features = ["pyth", "testing"], package = "abstract-oracle-adapter" } + + +cw-utils = { workspace = true } +cw20 = { workspace = true } cw20-base = { workspace = true }