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

Use polkadot-sdk crates #1560

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
use workspace and remove non necessary code
  • Loading branch information
magecnion committed Dec 17, 2024
commit 1e01b59aadd24560734929855d01c9badb735adf
183 changes: 0 additions & 183 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -44,7 +44,6 @@ members = [
"test-utils/client",
"test-utils/runtime",
"test-utils/runtime/client",
"test-utils/runtime/transaction-pool",
]
resolver = "2"

@@ -167,7 +166,6 @@ substrate-wasm-builder = { version = "24.0.0", default-features = false }
substrate-test-client = { path = "test-utils/client", version = "2.0.1" }
substrate-test-runtime = { path = "test-utils/runtime", version = "2.0.0" }
substrate-test-runtime-client = { path = "test-utils/runtime/client", version = "2.0.0" }
substrate-test-runtime-transaction-pool = { path = "test-utils/runtime/transaction-pool" }
substrate-test-utils = { path = "test-utils" }
# XCM
xcm = { version = "14.2.0", package = "staging-xcm", default-features = false }
2 changes: 1 addition & 1 deletion client/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ sc-block-builder = { workspace = true }
sc-client-db = { workspace = true, features = ["rocksdb"] }
sp-consensus = { workspace = true }
sp-io = { workspace = true }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client", version = "2.0.0" }
substrate-test-runtime-client = { workspace = true }

# Frontier
fc-api = { workspace = true }
2 changes: 1 addition & 1 deletion client/db/Cargo.toml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ tempfile = "3.10.1"
# Substrate
sc-block-builder = { workspace = true }
sp-consensus = { workspace = true }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client", version = "2.0.0" }
substrate-test-runtime-client = { workspace = true }

[features]
default = ["rocksdb"]
2 changes: 1 addition & 1 deletion client/mapping-sync/Cargo.toml
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ sc-client-db = { workspace = true, features = ["rocksdb"] }
sp-consensus = { workspace = true }
sp-core = { workspace = true, features = ["default"] }
sp-io = { workspace = true }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client", version = "2.0.0" }
substrate-test-runtime-client = { workspace = true }
# Frontier
fp-consensus = { workspace = true, features = ["default"] }
fp-storage = { workspace = true, features = ["default"] }
2 changes: 1 addition & 1 deletion client/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ tempfile = "3.10.1"
sc-block-builder = { workspace = true }
sc-client-db = { workspace = true, features = ["rocksdb"] }
sp-consensus = { workspace = true }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client", version = "2.0.0" }
substrate-test-runtime-client ={ workspace = true }
# Frontier
fc-db = { workspace = true }

6 changes: 3 additions & 3 deletions test-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "substrate-test-utils"
version = "3.0.0"
authors = { workspace = true }
edition = { workspace = true }
repository = { workspace = true }
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "Substrate test utilities (polkadot v1.15.0)"
publish = false

3 changes: 0 additions & 3 deletions test-utils/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -44,6 +44,3 @@ sp-runtime.default-features = true
sp-state-machine.workspace = true
sp-state-machine.default-features = true
tokio = { features = ["sync"], workspace = true, default-features = true }

[features]
std = []
4 changes: 1 addition & 3 deletions test-utils/runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ sc-chain-spec = { default-features = true, workspace = true }
sc-executor = { default-features = true, workspace = true }
sc-executor-common = { default-features = true, workspace = true }
sp-consensus = { default-features = true, workspace = true }
substrate-test-runtime-client = { path = "client" }
substrate-test-runtime-client = { workspace = true }
sp-tracing = { default-features = true, workspace = true }
serde = { features = ["alloc", "derive"], workspace = true }
serde_json = { features = ["alloc"], workspace = true }
@@ -109,8 +109,6 @@ std = [
"substrate-wasm-builder",
"tracing/std",
"trie-db/std",
"serde/std",
"substrate-test-runtime-client/std"
]

# Special feature to disable logging
Loading