Clean up crate names and locations (#4361)

* rename crate: sp-transaction-pool-api -> sp-transaction-pool

* move primitives/core/derive-debug -> primitives/derive-debug; primitives/core/storage -> primitives/storage

* rename crate sp-core-storage -> sp-storage

* rename and move: test/utils/transaction-factory -> client/transaction-factory

* move transaction-factory -> node/transaction-factory

* fix missing rename

* Move chain-spec-builder into bin/utils

* move subkey into bin/utils

* Update new subkey location

* Update docs to reflect new location for utils

* fixing import name
This commit is contained in:
Benjamin Kampmann
2019-12-11 15:33:00 +01:00
committed by GitHub
parent 58c1c7a10d
commit 7773daaf5b
48 changed files with 138 additions and 111 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false }
state-machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
sc-telemetry = { path = "../telemetry" }
trie = { package = "sp-trie", path = "../../primitives/trie" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
[dev-dependencies]
test-primitives = { package = "sp-test-primitives", path = "../../primitives/test-primitives" }
+1 -1
View File
@@ -16,7 +16,7 @@ client-api = { package = "sc-client-api", path = "../api" }
consensus_common = { package = "sp-consensus", path = "../../primitives/consensus/common" }
inherents = { package = "sp-inherents", path = "../../primitives/inherents" }
sc-telemetry = { path = "../telemetry" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
block-builder = { package = "sc-block-builder", path = "../block-builder" }
tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] }
+1 -1
View File
@@ -36,7 +36,7 @@ env_logger = "0.7.0"
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-api", path = "../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
[features]
default = []
+1 -1
View File
@@ -23,7 +23,7 @@ rpc-primitives = { package = "sp-rpc", path = "../../primitives/rpc" }
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
sc-executor = { path = "../executor" }
sc-keystore = { path = "../keystore" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
sp-blockchain = { path = "../../primitives/blockchain" }
hash-db = { version = "0.15.2", default-features = false }
parking_lot = { version = "0.9.0" }
+1 -1
View File
@@ -18,5 +18,5 @@ 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-api", path = "../../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../../primitives/transaction-pool" }
rpc-primitives = { package = "sp-rpc", path = "../../../primitives/rpc" }
+1 -1
View File
@@ -45,7 +45,7 @@ client_db = { package = "sc-client-db", path = "../db" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
sc-executor = { path = "../executor" }
txpool = { package = "sc-transaction-pool", path = "../transaction-pool" }
sp-transaction-pool = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
sp-transaction-pool = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
rpc-servers = { package = "sc-rpc-server", path = "../rpc-servers" }
rpc = { package = "sc-rpc", path = "../rpc" }
tel = { package = "sc-telemetry", path = "../telemetry" }
+1 -1
View File
@@ -18,4 +18,4 @@ consensus = { package = "sp-consensus", path = "../../../primitives/consensus/co
client = { package = "sc-client", path = "../../" }
sp-runtime = { path = "../../../primitives/runtime" }
primitives = { package = "sp-core", path = "../../../primitives/core" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../../primitives/transaction-pool" }
+1 -1
View File
@@ -14,7 +14,7 @@ primitives = { package = "sp-core", path = "../../primitives/core" }
sp-api = { path = "../../primitives/api" }
sp-runtime = { path = "../../primitives/runtime" }
txpool = { package = "sc-transaction-graph", path = "./graph" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool" }
client-api = { package = "sc-client-api", path = "../api" }
sp-blockchain = { path = "../../primitives/blockchain" }
@@ -12,7 +12,7 @@ parking_lot = "0.9.0"
serde = { version = "1.0.101", features = ["derive"] }
primitives = { package = "sp-core", path = "../../../primitives/core" }
sp-runtime = { path = "../../../primitives/runtime" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../../primitives/transaction-pool" }
txpool-api = { package = "sp-transaction-pool", path = "../../../primitives/transaction-pool" }
[dev-dependencies]
assert_matches = "1.3.0"