From e3db3ab30a3ca5380fec09783903d7e10797139b Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Wed, 9 Nov 2022 10:15:58 +0000 Subject: [PATCH] Patch all substrate deps to use my substrate branch --- examples/Cargo.toml | 2 +- metadata/Cargo.toml | 2 +- subxt/Cargo.toml | 5 +++-- testing/integration-tests/Cargo.toml | 6 +++--- testing/test-runtime/Cargo.toml | 4 ++-- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index c83b4ac568..e05da93858 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -14,7 +14,7 @@ description = "Subxt example usage" [dev-dependencies] subxt = { path = "../subxt" } tokio = { version = "1.8", features = ["rt-multi-thread", "macros", "time"] } -sp-keyring = "6.0.0" +sp-keyring = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-keyring", default-features = false } futures = "0.3.13" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] } hex = "0.4.3" diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index 122ec379d5..e59e493def 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -15,7 +15,7 @@ description = "Command line utilities for checking metadata compatibility betwee codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full"] } frame-metadata = "15.0.0" scale-info = "2.0.0" -sp-core = { version = "6.0.0" } +sp-core = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-core", default-features = false } [dev-dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index 67dc9eaae1..a67951fb17 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -42,8 +42,9 @@ parking_lot = "0.12.0" subxt-macro = { version = "0.24.0", path = "../macro" } subxt-metadata = { version = "0.24.0", path = "../metadata" } -sp-core = { version = "6.0.0", default-features = false } -sp-runtime = "6.0.0" +# todo: release these from substrate and use crates.io packages +sp-core = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-core", default-features = false } +sp-runtime = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-runtime", default-features = false } frame-metadata = "15.0.0" derivative = "2.2.0" diff --git a/testing/integration-tests/Cargo.toml b/testing/integration-tests/Cargo.toml index 2c398845a5..a0540ab6f5 100644 --- a/testing/integration-tests/Cargo.toml +++ b/testing/integration-tests/Cargo.toml @@ -22,9 +22,9 @@ futures = "0.3.13" hex = "0.4.3" regex = "1.5.0" scale-info = { version = "2.0.0", features = ["bit-vec"] } -sp-core = { version = "6.0.0", default-features = false } -sp-keyring = "6.0.0" -sp-runtime = "6.0.0" +sp-core = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-core", default-features = false } +sp-keyring = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-keyring", default-features = false } +sp-runtime = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-runtime", default-features = false } syn = "1.0.0" subxt = { version = "0.24.0", path = "../../subxt" } subxt-codegen = { version = "0.24.0", path = "../../codegen" } diff --git a/testing/test-runtime/Cargo.toml b/testing/test-runtime/Cargo.toml index ba7314e55c..ddcea18c34 100644 --- a/testing/test-runtime/Cargo.toml +++ b/testing/test-runtime/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" [dependencies] subxt = { path = "../../subxt" } -sp-runtime = "6.0.0" +sp-runtime = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-runtime", default-features = false } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] } [build-dependencies] subxt = { path = "../../subxt" } -sp-core = "6.0.0" +sp-core = { version = "6.0.0", git = "https://github.com/paritytech/substrate", branch = "aj/sp-runtime-parity-util-mem", package = "sp-core", default-features = false } tokio = { version = "1.8", features = ["macros", "rt-multi-thread"] } which = "4.2.2" jsonrpsee = { version = "0.15.1", features = ["async-client", "client-ws-transport"] }