Fix folder names in client and test (#4360)

* client/rpc/api -> client/rpc-api

* client/util/wasm-builder-runner -> utils/wasm-builder-runner

* client/grafana-data-source -> utils/grafana-data-source

* test/utils -> test-utils

* fix moved path

* Update Cargo.lock

* Update Cargo.lock
This commit is contained in:
Benjamin Kampmann
2019-12-11 16:41:38 +01:00
committed by GitHub
parent 8131dc8a66
commit c5a709a882
75 changed files with 166 additions and 185 deletions
+10 -10
View File
@@ -1207,7 +1207,7 @@ dependencies = [
[[package]]
name = "finality-grandpa"
version = "0.10.1"
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2368,7 +2368,7 @@ dependencies = [
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libsecp256k1 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"multistream-select 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"multistream-select 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-multiaddr 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-multihash 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2777,7 +2777,7 @@ dependencies = [
[[package]]
name = "lru"
version = "0.4.2"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"hashbrown 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2932,7 +2932,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "multistream-select"
version = "0.6.0"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5298,7 +5298,7 @@ name = "sc-finality-grandpa"
version = "2.0.0"
dependencies = [
"env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"finality-grandpa 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"finality-grandpa 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)",
"fork-tree 2.0.0",
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5365,7 +5365,7 @@ dependencies = [
"linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"linked_hash_set 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"lru 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"lru 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"quickcheck 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -6106,7 +6106,7 @@ version = "2.0.0"
dependencies = [
"derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"lru 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"lru 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sp-block-builder 2.0.0",
@@ -8188,7 +8188,7 @@ dependencies = [
"checksum fallible-iterator 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
"checksum fdlimit 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b1ee15a7050e5580b3712877157068ea713b245b080ff302ae2ca973cfcd9baa"
"checksum file-per-thread-logger 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8505b75b31ef7285168dd237c4a7db3c1f3e0927e7d314e670bc98e854272fe9"
"checksum finality-grandpa 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bd555755b04f83d6ed3041f5da26c0123a417ae2b96a826c1171b3f6fb804803"
"checksum finality-grandpa 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4106eb29c7e092f4a6ce6e7632abbbfdf85d94e63035d3790d2d16eeae83d3f4"
"checksum fixed-hash 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "72fe7539e2c5692c6989f2f9c0457e42f1e5768f96b85c87d273574670ae459f"
"checksum fixedbitset 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "86d4de0081402f5e88cdac65c8dcdcc73118c1a7a465e2a05f0da05843a8ea33"
"checksum flate2 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6bd6d6f4752952feb71363cffc9ebac9411b75b87c6ab6058c40c8900cf43c0f"
@@ -8317,7 +8317,7 @@ dependencies = [
"checksum lock_api 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e57b3997725d2b60dbec1297f6c2e2957cc383db1cebd6be812163f969c7d586"
"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b"
"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
"checksum lru 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "79aea63cd4aa0930b66807632cc61c74db9ea687358fc1f165bab053bcce4a7a"
"checksum lru 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0609345ddee5badacf857d4f547e0e5a2e987db77085c24cd887f73573a04237"
"checksum mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "86dd2487cdfea56def77b88438a2c915fb45113c5319bfe7e14306ca4cd0b0e1"
"checksum malloc_size_of_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e37c5d4cd9473c5f4c9c111f033f15d4df9bd378fdf615944e360a4f55a05f0b"
"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
@@ -8335,7 +8335,7 @@ dependencies = [
"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
"checksum more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238"
"checksum multimap 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2eb04b9f127583ed176e163fb9ec6f3e793b87e21deedd5734a69386a18a0151"
"checksum multistream-select 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1242e4ecf2060b35fb58002988e4720fbb3a2cbd4c136d369c420fa028f69efe"
"checksum multistream-select 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fc3ef54aab1b2e37e911bcb99e376dbe4c1e0710afcdb8428608e4f993b39c47"
"checksum names 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef320dab323286b50fb5cdda23f61c796a72a89998ab565ca32525c5c556f2da"
"checksum native-tls 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4b2df1a4c22fd44a62147fd8f13dd0f95c9d8ca7b2610299b2a2f9cf8964274e"
"checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88"
+7 -7
View File
@@ -37,16 +37,16 @@ members = [
"client/peerset",
"client/rpc-servers",
"client/rpc",
"client/rpc/api",
"client/rpc-api",
"client/service",
"client/service/test",
"client/state-db",
"client/telemetry",
"client/transaction-pool",
"client/transaction-pool/graph",
"client/utils/wasm-builder-runner",
"client/grafana-data-source",
"client/grafana-data-source/test",
"utils/wasm-builder-runner",
"utils/grafana-data-source",
"utils/grafana-data-source/test",
"frame/assets",
"frame/aura",
"frame/authority-discovery",
@@ -136,9 +136,9 @@ members = [
"primitives/transaction-pool",
"primitives/trie",
"primitives/wasm-interface",
"test/utils/client",
"test/utils/runtime",
"test/utils/runtime/client",
"test-utils/client",
"test-utils/runtime",
"test-utils/runtime/client",
"utils/build-script-utils",
"utils/fork-tree",
"utils/frame/rpc/support",
@@ -33,7 +33,7 @@ sp-transaction-pool = { package = "sp-transaction-pool", path = "../../../primit
version = { package = "sp-version", path = "../../../primitives/version", default-features = false }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../utils/wasm-builder-runner", version = "1.0.4" }
[features]
default = ["std"]
+1 -1
View File
@@ -18,7 +18,7 @@ node-runtime = { path = "../runtime" }
[dev-dependencies]
node-testing = { path = "../testing" }
test-client = { package = "substrate-test-client", path = "../../../test/utils/client" }
test-client = { package = "substrate-test-client", path = "../../../test-utils/client" }
sp-runtime = { path = "../../../primitives/runtime" }
runtime_support = { package = "frame-support", path = "../../../frame/support" }
balances = { package = "pallet-balances", path = "../../../frame/balances" }
+1 -1
View File
@@ -63,7 +63,7 @@ transaction-payment = { package = "pallet-transaction-payment", path = "../../..
transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", path = "../../../frame/transaction-payment/rpc/runtime-api/", default-features = false }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../utils/wasm-builder-runner", version = "1.0.4" }
[dev-dependencies]
sp-io = { path = "../../../primitives/io" }
+1 -1
View File
@@ -24,7 +24,7 @@ sp-runtime = { path = "../../../primitives/runtime" }
staking = { package = "pallet-staking", path = "../../../frame/staking" }
sc-executor = { path = "../../../client/executor" }
system = { package = "frame-system", path = "../../../frame/system" }
test-client = { package = "substrate-test-client", path = "../../../test/utils/client" }
test-client = { package = "substrate-test-client", path = "../../../test-utils/client" }
timestamp = { package = "pallet-timestamp", path = "../../../frame/timestamp" }
transaction-payment = { package = "pallet-transaction-payment", path = "../../../frame/transaction-payment" }
treasury = { package = "pallet-treasury", path = "../../../frame/treasury" }
+1 -1
View File
@@ -35,6 +35,6 @@ tracing = "0.1.10"
[dev-dependencies]
env_logger = "0.7.0"
tempfile = "3.1.0"
test-client = { package = "substrate-test-runtime-client", path = "../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../test-utils/runtime/client" }
kvdb-memorydb = "0.1.2"
panic-handler = { package = "sp-panic-handler", path = "../primitives/panic-handler" }
+1 -1
View File
@@ -22,5 +22,5 @@ tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] }
[dev-dependencies]
txpool = { package = "sc-transaction-pool", path = "../../client/transaction-pool" }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../test-utils/runtime/client" }
parking_lot = "0.9"
+1 -1
View File
@@ -37,7 +37,7 @@ sc-executor = { path = "../../executor" }
sc-network = { path = "../../network" }
sc-network-test = { path = "../../network/test" }
service = { package = "sc-service", path = "../../service" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test-utils/runtime/client" }
tokio = "0.1.22"
env_logger = "0.7.0"
tempfile = "3.1.0"
+1 -1
View File
@@ -46,7 +46,7 @@ sc-executor = { path = "../../executor" }
sc-network = { path = "../../network" }
sc-network-test = { path = "../../network/test" }
service = { package = "sc-service", path = "../../service" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test-utils/runtime/client" }
block-builder = { package = "sc-block-builder", path = "../../block-builder" }
tokio = "0.1.22"
env_logger = "0.7.0"
+1 -1
View File
@@ -21,4 +21,4 @@ parking_lot = "0.9.0"
log = "0.4.8"
[dev-dependencies]
test-client = { package = "substrate-test-runtime-client", path = "../../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test-utils/runtime/client" }
+1 -1
View File
@@ -26,7 +26,7 @@ sp-blockchain = { path = "../../primitives/blockchain" }
[dev-dependencies]
sp-keyring = { path = "../../primitives/keyring" }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../test-utils/runtime/client" }
env_logger = "0.7.0"
quickcheck = "0.9"
+1 -1
View File
@@ -37,7 +37,7 @@ assert_matches = "1.3.0"
wabt = "0.9.2"
hex-literal = "0.2.1"
runtime-test = { package = "sc-runtime-test", path = "runtime-test" }
test-runtime = { package = "substrate-test-runtime", path = "../../test/utils/runtime" }
test-runtime = { package = "substrate-test-runtime", path = "../../test-utils/runtime" }
runtime-interface = { package = "sp-runtime-interface", path = "../../primitives/runtime-interface" }
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
test-case = "0.3.3"
@@ -13,7 +13,7 @@ primitives = { package = "sp-core", path = "../../../primitives/core", default-
sp-runtime = { package = "sp-runtime", path = "../../../primitives/runtime", default-features = false }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../utils/wasm-builder-runner", version = "1.0.4" }
[features]
default = [ "std" ]
+1 -1
View File
@@ -34,7 +34,7 @@ grandpa = { package = "finality-grandpa", version = "0.10.1", features = ["deriv
network = { package = "sc-network", path = "../network" }
sc-network-test = { path = "../network/test" }
keyring = { package = "sp-keyring", path = "../../primitives/keyring" }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client"}
test-client = { package = "substrate-test-runtime-client", path = "../../test-utils/runtime/client"}
babe_primitives = { package = "sp-consensus-babe", path = "../../primitives/consensus/babe" }
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
env_logger = "0.7.0"
+2 -2
View File
@@ -43,8 +43,8 @@ tokio-io = "0.1.12"
tokio = { version = "0.1.22", optional = true }
unsigned-varint = { version = "0.2.2", features = ["codec"] }
keyring = { package = "sp-keyring", path = "../../primitives/keyring", optional = true }
test_client = { package = "substrate-test-client", path = "../../test/utils/client", optional = true }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client", optional = true }
test_client = { package = "substrate-test-client", path = "../../test-utils/client", optional = true }
test-client = { package = "substrate-test-runtime-client", path = "../../test-utils/runtime/client", optional = true }
erased-serde = "0.3.9"
void = "1.0.2"
zeroize = "1.0.0"
+2 -2
View File
@@ -24,7 +24,7 @@ primitives = { package = "sp-core", path = "../../../primitives/core" }
block-builder = { package = "sc-block-builder", path = "../../block-builder" }
babe-primitives = { package = "sp-consensus-babe", path = "../../../primitives/consensus/babe" }
env_logger = "0.7.0"
test-client = { package = "substrate-test-runtime-client", path = "../../../test/utils/runtime/client" }
test_runtime = { package = "substrate-test-runtime", path = "../../../test/utils/runtime" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test-utils/runtime/client" }
test_runtime = { package = "substrate-test-runtime", path = "../../../test-utils/runtime" }
tempfile = "3.1.0"
tokio = "0.1.22"
+1 -1
View File
@@ -33,7 +33,7 @@ hyper-rustls = "0.17.1"
[dev-dependencies]
client-db = { package = "sc-client-db", path = "../db/", default-features = true }
env_logger = "0.7.0"
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../test-utils/runtime/client" }
tokio = "0.1.22"
txpool = { package = "sc-transaction-pool", path = "../../client/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
@@ -14,9 +14,9 @@ jsonrpc-derive = "14.0.3"
jsonrpc-pubsub = "14.0.3"
log = "0.4.8"
parking_lot = "0.9.0"
primitives = { package = "sp-core", path = "../../../primitives/core" }
runtime_version = { package = "sp-version", path = "../../../primitives/version" }
primitives = { package = "sp-core", path = "../../primitives/core" }
runtime_version = { package = "sp-version", path = "../../primitives/version" }
serde = { version = "1.0.101", features = ["derive"] }
serde_json = "1.0.41"
txpool-api = { package = "sp-transaction-pool", path = "../../../primitives/transaction-pool" }
rpc-primitives = { package = "sp-rpc", path = "../../../primitives/rpc" }
txpool-api = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
rpc-primitives = { package = "sp-rpc", path = "../../primitives/rpc" }
+2 -2
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
api = { package = "sc-rpc-api", path = "./api" }
api = { package = "sc-rpc-api", path = "../rpc-api" }
client-api = { package = "sc-client-api", path = "../api" }
client = { package = "sc-client", path = "../" }
sp-api = { path = "../../primitives/api" }
@@ -34,6 +34,6 @@ futures01 = { package = "futures", version = "0.1.29" }
network = { package = "sc-network", path = "../network" }
rustc-hex = "2.0.1"
sp-io = { path = "../../primitives/io" }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../test-utils/runtime/client" }
tokio = "0.1.22"
txpool = { package = "sc-transaction-pool", path = "../transaction-pool" }
+2 -2
View File
@@ -51,12 +51,12 @@ rpc = { package = "sc-rpc", path = "../rpc" }
tel = { package = "sc-telemetry", path = "../telemetry" }
offchain = { package = "sc-offchain", path = "../offchain" }
parity-multiaddr = { package = "parity-multiaddr", version = "0.5.0" }
grafana-data-source = { path = "../grafana-data-source" }
grafana-data-source = { path = "../../utils/grafana-data-source" }
sc-tracing = { package = "sc-tracing", path = "../tracing" }
tracing = "0.1.10"
[dev-dependencies]
substrate-test-runtime-client = { path = "../../test/utils/runtime/client" }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
babe-primitives = { package = "sp-consensus-babe", path = "../../primitives/consensus/babe" }
grandpa = { package = "sc-finality-grandpa", path = "../finality-grandpa" }
grandpa-primitives = { package = "sp-finality-grandpa", path = "../../primitives/finality-grandpa" }
+1 -1
View File
@@ -15,7 +15,7 @@ slog = { version = "2.5.2", features = ["nested-values"] }
tracing-core = "0.1.7"
sc-telemetry = { path = "../telemetry" }
grafana-data-source = { path = "../grafana-data-source" }
grafana-data-source = { path = "../../utils/grafana-data-source" }
[dev-dependencies]
tracing = "0.1.10"
+1 -1
View File
@@ -20,4 +20,4 @@ sp-blockchain = { path = "../../primitives/blockchain" }
[dev-dependencies]
keyring = { package = "sp-keyring", path = "../../primitives/keyring" }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../test-utils/runtime/client" }
@@ -17,7 +17,7 @@ txpool-api = { package = "sp-transaction-pool", path = "../../../primitives/tran
[dev-dependencies]
assert_matches = "1.3.0"
codec = { package = "parity-scale-codec", version = "1.0.0" }
test_runtime = { package = "substrate-test-runtime", path = "../../../test/utils/runtime" }
test_runtime = { package = "substrate-test-runtime", path = "../../../test-utils/runtime" }
criterion = "0.3"
[[bench]]
+1 -1
View File
@@ -25,7 +25,7 @@ lazy_static = "1.4.0"
parking_lot = "0.9.0"
sp-version = { path = "../../primitives/version", default-features = false }
primitives = { package = "sp-core", path = "../../primitives/core" }
test-runtime = { package = "substrate-test-runtime", path = "../../test/utils/runtime" }
test-runtime = { package = "substrate-test-runtime", path = "../../test-utils/runtime" }
[features]
default = ["std"]
@@ -17,7 +17,7 @@ sp-io = { path = "../../primitives/io" }
hex-literal = "0.2.1"
balances = { package = "pallet-balances", path = "../balances" }
primitives = { package = "sp-core", path = "../../primitives/core" }
substrate-test-utils = { path = "../../test/utils" }
substrate-test-utils = { path = "../../test-utils" }
serde = { version = "1.0.101" }
[features]
+1 -1
View File
@@ -24,7 +24,7 @@ primitives = { package = "sp-core", path = "../../primitives/core" }
balances = { package = "pallet-balances", path = "../balances" }
timestamp = { package = "pallet-timestamp", path = "../timestamp" }
pallet-staking-reward-curve = { path = "../staking/reward-curve"}
substrate-test-utils = { path = "../../test/utils" }
substrate-test-utils = { path = "../../test-utils" }
[features]
equalize = []
+2 -2
View File
@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
sp-api = { path = "../" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test-utils/runtime/client" }
sp-version = { path = "../../version" }
sp-runtime = { path = "../../runtime" }
sp-blockchain = { path = "../../blockchain" }
@@ -18,7 +18,7 @@ rustversion = "1.0.0"
[dev-dependencies]
criterion = "0.3.0"
test-client = { package = "substrate-test-runtime-client", path = "../../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test-utils/runtime/client" }
[[bench]]
name = "bench"
@@ -8,5 +8,5 @@ publish = false
[dependencies]
primitives = { package = "sp-core", path = "../../core", default-features = false }
test-client = { package = "substrate-test-runtime-client", path = "../../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../../test-utils/runtime/client" }
sp-runtime = { path = "../../runtime" }
+1 -1
View File
@@ -10,7 +10,7 @@ sp-std = { path = "../std", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
[dev-dependencies]
substrate-test-utils = { path = "../../test/utils" }
substrate-test-utils = { path = "../../test-utils" }
sp-io ={ path = "../../primitives/io" }
rand = "0.7.2"
@@ -12,7 +12,7 @@ sp-io = { path = "../../io", default-features = false }
primitives = { package = "sp-core", path = "../../core", default-features = false }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.3", path = "../../../client/utils/wasm-builder-runner" }
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.3", path = "../../../utils/wasm-builder-runner" }
[features]
default = [ "std" ]
+20
View File
@@ -0,0 +1,20 @@
[package]
name = "substrate-test-client"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
client-api = { package = "sc-client-api", path = "../../client/api" }
client = { package = "sc-client", path = "../../client/" }
client-db = { package = "sc-client-db", path = "../../client//db", features = ["test-helpers"] }
consensus = { package = "sp-consensus", path = "../../primitives/consensus/common" }
executor = { package = "sc-executor", path = "../../client/executor" }
futures = "0.3.1"
hash-db = "0.15.2"
keyring = { package = "sp-keyring", path = "../../primitives/keyring" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
primitives = { package = "sp-core", path = "../../primitives/core" }
sp-runtime = { path = "../../primitives/runtime" }
sp-blockchain = { path = "../../primitives/blockchain" }
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
+83
View File
@@ -0,0 +1,83 @@
[package]
name = "substrate-test-runtime"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
build = "build.rs"
[dependencies]
app-crypto = { package = "sp-application-crypto", path = "../../primitives/application-crypto", default-features = false }
aura-primitives = { package = "sp-consensus-aura", path = "../../primitives/consensus/aura", default-features = false }
babe-primitives = { package = "sp-consensus-babe", path = "../../primitives/consensus/babe", default-features = false }
block-builder-api = { package = "sp-block-builder", path = "../../primitives/block-builder", default-features = false }
cfg-if = "0.1.10"
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
executive = { package = "frame-executive", path = "../../frame/executive", default-features = false }
inherents = { package = "sp-inherents", path = "../../primitives/inherents", default-features = false }
keyring = { package = "sp-keyring", path = "../../primitives/keyring", optional = true }
log = { version = "0.4.8", optional = true }
memory-db = { version = "0.15.2", default-features = false }
offchain-primitives = { package = "sp-offchain", path = "../../primitives/offchain", default-features = false}
primitives = { package = "sp-core", path = "../../primitives/core", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
runtime-interface = { package = "sp-runtime-interface", path = "../../primitives/runtime-interface", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
runtime_support = { package = "frame-support", path = "../../frame/support", default-features = false }
runtime_version = { package = "sp-version", path = "../../primitives/version", default-features = false }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
session = { package = "sp-session", path = "../../primitives/session", default-features = false }
sp-api = { path = "../../primitives/api", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
pallet-babe = { path = "../../frame/babe", default-features = false }
frame-system = { path = "../../frame/system", default-features = false }
frame-system-rpc-runtime-api = { path = "../../frame/system/rpc/runtime-api", default-features = false }
pallet-timestamp = { path = "../../frame/timestamp", default-features = false }
sc-client = { path = "../../client", optional = true }
sp-trie = { path = "../../primitives/trie", default-features = false }
sp-transaction-pool = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool", default-features = false }
trie-db = { version = "0.16.0", default-features = false }
[dev-dependencies]
sc-executor = { path = "../../client/executor" }
substrate-test-runtime-client = { path = "./client" }
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../utils/wasm-builder-runner", version = "1.0.4" }
[features]
default = [
"std",
]
std = [
"app-crypto/std",
"aura-primitives/std",
"babe-primitives/std",
"block-builder-api/std",
"codec/std",
"executive/std",
"inherents/std",
"keyring",
"log",
"memory-db/std",
"offchain-primitives/std",
"primitives/std",
"primitives/std",
"sp-std/std",
"runtime-interface/std",
"sp-io/std",
"runtime_support/std",
"runtime_version/std",
"serde",
"session/std",
"sp-api/std",
"sp-runtime/std",
"pallet-babe/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"pallet-timestamp/std",
"sc-client",
"sp-trie/std",
"sp-transaction-pool/std",
"trie-db/std",
]
@@ -20,7 +20,7 @@ fn main() {
build_current_project_with_rustflags(
"wasm_binary.rs",
WasmBuilderSource::CratesOrPath {
path: "../../../utils/wasm-builder",
path: "../../utils/wasm-builder",
version: "1.0.8",
},
// Note that we set the stack-size to 1MB explicitly even though it is set
@@ -5,13 +5,13 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
block-builder = { package = "sc-block-builder", path = "../../../../client/block-builder" }
block-builder = { package = "sc-block-builder", path = "../../../client/block-builder" }
generic-test-client = { package = "substrate-test-client", path = "../../client" }
primitives = { package = "sp-core", path = "../../../../primitives/core" }
primitives = { package = "sp-core", path = "../../../primitives/core" }
runtime = { package = "substrate-test-runtime", path = "../../runtime" }
sp-runtime = { path = "../../../../primitives/runtime" }
sp-blockchain = { path = "../../../../primitives/blockchain" }
sp-runtime = { path = "../../../primitives/runtime" }
sp-blockchain = { path = "../../../primitives/blockchain" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
client-api = { package = "sc-client-api", path = "../../../../client/api" }
client = { package = "sc-client", path = "../../../../client/" }
client-api = { package = "sc-client-api", path = "../../../client/api" }
client = { package = "sc-client", path = "../../../client/" }
futures = "0.3.1"
-20
View File
@@ -1,20 +0,0 @@
[package]
name = "substrate-test-client"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
client-api = { package = "sc-client-api", path = "../../../client/api" }
client = { package = "sc-client", path = "../../../client/" }
client-db = { package = "sc-client-db", path = "../../../client//db", features = ["test-helpers"] }
consensus = { package = "sp-consensus", path = "../../../primitives/consensus/common" }
executor = { package = "sc-executor", path = "../../../client/executor" }
futures = "0.3.1"
hash-db = "0.15.2"
keyring = { package = "sp-keyring", path = "../../../primitives/keyring" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
primitives = { package = "sp-core", path = "../../../primitives/core" }
sp-runtime = { path = "../../../primitives/runtime" }
sp-blockchain = { path = "../../../primitives/blockchain" }
state_machine = { package = "sp-state-machine", path = "../../../primitives/state-machine" }
-83
View File
@@ -1,83 +0,0 @@
[package]
name = "substrate-test-runtime"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
build = "build.rs"
[dependencies]
app-crypto = { package = "sp-application-crypto", path = "../../../primitives/application-crypto", default-features = false }
aura-primitives = { package = "sp-consensus-aura", path = "../../../primitives/consensus/aura", default-features = false }
babe-primitives = { package = "sp-consensus-babe", path = "../../../primitives/consensus/babe", default-features = false }
block-builder-api = { package = "sp-block-builder", path = "../../../primitives/block-builder", default-features = false }
cfg-if = "0.1.10"
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
executive = { package = "frame-executive", path = "../../../frame/executive", default-features = false }
inherents = { package = "sp-inherents", path = "../../../primitives/inherents", default-features = false }
keyring = { package = "sp-keyring", path = "../../../primitives/keyring", optional = true }
log = { version = "0.4.8", optional = true }
memory-db = { version = "0.15.2", default-features = false }
offchain-primitives = { package = "sp-offchain", path = "../../../primitives/offchain", default-features = false}
primitives = { package = "sp-core", path = "../../../primitives/core", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
runtime-interface = { package = "sp-runtime-interface", path = "../../../primitives/runtime-interface", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false }
runtime_support = { package = "frame-support", path = "../../../frame/support", default-features = false }
runtime_version = { package = "sp-version", path = "../../../primitives/version", default-features = false }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
session = { package = "sp-session", path = "../../../primitives/session", default-features = false }
sp-api = { path = "../../../primitives/api", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
pallet-babe = { path = "../../../frame/babe", default-features = false }
frame-system = { path = "../../../frame/system", default-features = false }
frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false }
pallet-timestamp = { path = "../../../frame/timestamp", default-features = false }
sc-client = { path = "../../../client", optional = true }
sp-trie = { path = "../../../primitives/trie", default-features = false }
sp-transaction-pool = { package = "sp-transaction-pool", path = "../../../primitives/transaction-pool", default-features = false }
trie-db = { version = "0.16.0", default-features = false }
[dev-dependencies]
sc-executor = { path = "../../../client/executor" }
substrate-test-runtime-client = { path = "./client" }
state_machine = { package = "sp-state-machine", path = "../../../primitives/state-machine" }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }
[features]
default = [
"std",
]
std = [
"app-crypto/std",
"aura-primitives/std",
"babe-primitives/std",
"block-builder-api/std",
"codec/std",
"executive/std",
"inherents/std",
"keyring",
"log",
"memory-db/std",
"offchain-primitives/std",
"primitives/std",
"primitives/std",
"sp-std/std",
"runtime-interface/std",
"sp-io/std",
"runtime_support/std",
"runtime_version/std",
"serde",
"session/std",
"sp-api/std",
"sp-runtime/std",
"pallet-babe/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"pallet-timestamp/std",
"sc-client",
"sp-trie/std",
"sp-transaction-pool/std",
"trie-db/std",
]
@@ -1,19 +0,0 @@
[package]
name = "sc-transaction-factory"
version = "0.0.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
block-builder-api = { package = "sp-block-builder", path = "../../primitives/block-builder" }
cli = { package = "sc-cli", path = "../cli" }
client-api = { package = "sc-client-api", path = "../api" }
client = { package = "sc-client", path = "../" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
consensus_common = { package = "sp-consensus", path = "../../primitives/consensus/common" }
log = "0.4.8"
primitives = { package = "sp-core", path = "../../primitives/core" }
sp-api = { path = "../../primitives/api" }
sp-runtime = { path = "../../primitives/runtime" }
sc-service = { path = "../service" }
sp-blockchain = { path = "../../primitives/blockchain" }
+1 -1
View File
@@ -12,7 +12,7 @@ parity-scale-codec = "1"
serde = "1"
frame-support = { path = "../../../../frame/support" }
sp-storage = { path = "../../../../primitives/storage" }
sc-rpc-api = { path = "../../../../client/rpc/api" }
sc-rpc-api = { path = "../../../../client/rpc-api" }
[dev-dependencies]
frame-system = { path = "../../../../frame/system" }
+1 -1
View File
@@ -20,6 +20,6 @@ sp-blockchain = { path = "../../../../primitives/blockchain" }
txpool-api = { package = "sp-transaction-pool", path = "../../../../primitives/transaction-pool" }
[dev-dependencies]
test-client = { package = "substrate-test-runtime-client", path = "../../../../test/utils/runtime/client" }
test-client = { package = "substrate-test-runtime-client", path = "../../../../test-utils/runtime/client" }
env_logger = "0.7.0"
txpool = { package = "sc-transaction-pool", path = "../../../../client/transaction-pool" }