Rename folder: primitives/sr-primitives -> primitives/runtime (#4280)

* primitives/sr-primitives -> primitives/runtime

* update
This commit is contained in:
Weiliang Li
2019-12-09 16:49:32 +09:00
committed by Bastian Köcher
parent 94b6921d03
commit 04fcc71809
117 changed files with 845 additions and 765 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ primitives = { package = "sp-core", path = "../primitives/core" }
rstd = { package = "sp-std", path = "../primitives/sr-std" }
runtime-version = { package = "sp-version", path = "../primitives/sr-version" }
sp-api = { path = "../primitives/sr-api" }
sp-runtime = { path = "../primitives/sr-primitives" }
sp-runtime = { path = "../primitives/runtime" }
sp-blockchain = { path = "../primitives/blockchain" }
state-machine = { package = "sp-state-machine", path = "../primitives/state-machine" }
sc-telemetry = { path = "telemetry" }
+1 -2
View File
@@ -25,7 +25,7 @@ primitives = { package = "sp-core", path = "../../primitives/core", default-feat
rstd = { package = "sp-std", path = "../../primitives/sr-std", default-features = false }
runtime-version = { package = "sp-version", path = "../../primitives/sr-version", default-features = false }
sp-api = { path = "../../primitives/sr-api" }
sp-runtime = { path = "../../primitives/sr-primitives", default-features = false }
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" }
@@ -39,4 +39,3 @@ test-primitives = { package = "substrate-test-primitives", path = "../../test/ut
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" }
@@ -24,7 +24,7 @@ primitives = { package = "sp-core", path = "../../primitives/core" }
sp-blockchain = { path = "../../primitives/blockchain" }
prost = "0.5.0"
serde_json = "1.0.41"
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
[dev-dependencies]
env_logger = "0.7.0"
+1 -1
View File
@@ -8,7 +8,7 @@ edition = "2018"
log = "0.4.8"
futures = "0.3.1"
codec = { package = "parity-scale-codec", version = "1.0.0" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
primitives = { package = "sp-core", path = "../../primitives/core" }
sp-blockchain = { path = "../../primitives/blockchain" }
client = { package = "sc-client", path = "../" }
+1 -2
View File
@@ -6,10 +6,9 @@ edition = "2018"
[dependencies]
state-machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
sp-blockchain = { path = "../../primitives/blockchain" }
primitives = { package = "sp-core", path = "../../primitives/core" }
codec = { package = "parity-scale-codec", version = "1.0.6", features = ["derive"] }
runtime_api = { package = "sp-block-builder", path = "../../primitives/block-builder/runtime-api" }
sp-api = { path = "../../primitives/sr-api" }
+1 -1
View File
@@ -11,5 +11,5 @@ network = { package = "sc-network", path = "../network" }
primitives = { package = "sp-core", path = "../../primitives/core" }
serde = { version = "1.0.101", features = ["derive"] }
serde_json = "1.0.41"
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
tel = { package = "sc-telemetry", path = "../telemetry" }
+1 -1
View File
@@ -24,7 +24,7 @@ panic-handler = { package = "sp-panic-handler", path = "../../primitives/panic-h
client-api = { package = "sc-client-api", path = "../api" }
sp-blockchain = { path = "../../primitives/blockchain" }
network = { package = "sc-network", path = "../network" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
primitives = { package = "sp-core", path = "../../primitives/core" }
service = { package = "sc-service", path = "../service", default-features = false }
state-machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
+1 -1
View File
@@ -27,7 +27,7 @@ runtime_io = { package = "sp-io", path = "../../../primitives/sr-io" }
runtime_version = { package = "sp-version", path = "../../../primitives/sr-version" }
slots = { package = "sc-consensus-slots", path = "../slots" }
sp-api = { path = "../../../primitives/sr-api" }
sp-runtime = { path = "../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../primitives/runtime" }
sp-timestamp = { path = "../../../primitives/timestamp" }
sc-telemetry = { path = "../../telemetry" }
+1 -1
View File
@@ -27,7 +27,7 @@ sp-blockchain = { path = "../../../primitives/blockchain" }
consensus-common = { package = "sp-consensus", path = "../../../primitives/consensus/common" }
uncles = { package = "sc-consensus-uncles", path = "../uncles" }
slots = { package = "sc-consensus-slots", path = "../slots" }
sp-runtime = { path = "../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../primitives/runtime" }
fork-tree = { path = "../../../utils/fork-tree" }
futures = { version = "0.3.1", features = ["compat"] }
futures01 = { package = "futures", version = "0.1" }
+1 -1
View File
@@ -9,7 +9,7 @@ edition = "2018"
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
primitives = { package = "sp-core", path = "../../../primitives/core" }
sp-blockchain = { path = "../../../primitives/blockchain" }
sp-runtime = { path = "../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../primitives/runtime" }
client-api = { package = "sc-client-api", path = "../../api" }
block-builder-api = { package = "sp-block-builder", path = "../../../primitives/block-builder/runtime-api" }
inherents = { package = "sp-inherents", path = "../../../primitives/inherents" }
+1 -1
View File
@@ -11,7 +11,7 @@ codec = { package = "parity-scale-codec", version = "1.0.0" }
client-api = { package = "sc-client-api", path = "../../api" }
primitives = { package = "sp-core", path = "../../../primitives/core" }
sp-blockchain = { path = "../../../primitives/blockchain" }
sp-runtime = { path = "../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../primitives/runtime" }
sc-telemetry = { path = "../../telemetry" }
consensus_common = { package = "sp-consensus", path = "../../../primitives/consensus/common" }
inherents = { package = "sp-inherents", path = "../../../primitives/inherents" }
+1 -1
View File
@@ -8,7 +8,7 @@ edition = "2018"
[dependencies]
client-api = { package = "sc-client-api", path = "../../api" }
primitives = { package = "sp-core", path = "../../../primitives/core" }
sp-runtime = { path = "../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../primitives/runtime" }
sp-authorship = { path = "../../../primitives/authorship" }
consensus_common = { package = "sp-consensus", path = "../../../primitives/consensus/common" }
inherents = { package = "sp-inherents", path = "../../../primitives/inherents" }
+1 -1
View File
@@ -14,7 +14,7 @@ linked-hash-map = "0.5.2"
hash-db = "0.15.2"
client-api = { package = "sc-client-api", path = "../api" }
primitives = { package = "sp-core", path = "../../primitives/core" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
client = { package = "sc-client", path = "../" }
state-machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
@@ -10,7 +10,7 @@ rstd = { package = "sp-std", path = "../../../primitives/sr-std", default-featur
runtime_io = { package = "sp-io", path = "../../../primitives/sr-io", default-features = false }
sandbox = { package = "sp-sandbox", path = "../../../primitives/sr-sandbox", default-features = false }
primitives = { package = "sp-core", path = "../../../primitives/core", default-features = false }
sp-runtime = { package = "sp-runtime", path = "../../../primitives/sr-primitives", default-features = false }
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" }
+1 -1
View File
@@ -14,7 +14,7 @@ tokio-executor = "0.1.8"
tokio-timer = "0.2.11"
rand = "0.7.2"
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
consensus_common = { package = "sp-consensus", path = "../../primitives/consensus/common" }
primitives = { package = "sp-core", path = "../../primitives/core" }
sc-telemetry = { path = "../telemetry" }
+1 -1
View File
@@ -28,7 +28,7 @@ consensus = { package = "sp-consensus", path = "../../primitives/consensus/commo
client = { package = "sc-client", path = "../" }
client-api = { package = "sc-client-api", path = "../api" }
sp-blockchain = { path = "../../primitives/blockchain" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
sp-arithmetic = { path = "../../primitives/sr-arithmetic" }
primitives = { package = "sp-core", path = "../../primitives/core" }
block-builder = { package = "sc-block-builder", path = "../block-builder" }
+1 -1
View File
@@ -22,7 +22,7 @@ codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive
parking_lot = "0.9.0"
primitives = { package = "sp-core", path = "../../primitives/core" }
rand = "0.7.2"
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
network = { package = "sc-network", path = "../network" }
keystore = { package = "sc-keystore", path = "../keystore" }
+1 -1
View File
@@ -10,7 +10,7 @@ pubsub = { package = "jsonrpc-pubsub", version = "14.0.3" }
log = "0.4.8"
serde = "1.0.101"
serde_json = "1.0.41"
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
[target.'cfg(not(target_os = "unknown"))'.dependencies]
http = { package = "jsonrpc-http-server", version = "14.0.3" }
+1 -1
View File
@@ -18,7 +18,7 @@ rpc = { package = "jsonrpc-core", version = "14.0.3" }
runtime_version = { package = "sp-version", path = "../../primitives/sr-version" }
serde_json = "1.0.41"
session = { package = "sp-session", path = "../../primitives/session" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
rpc-primitives = { package = "sp-rpc", path = "../../primitives/rpc" }
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
sc-executor = { path = "../executor" }
+1 -1
View File
@@ -30,7 +30,7 @@ sysinfo = "0.9.5"
target_info = "0.1.0"
keystore = { package = "sc-keystore", path = "../keystore" }
sp-io = { path = "../../primitives/sr-io" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
sp-blockchain = { path = "../../primitives/blockchain" }
primitives = { package = "sp-core", path = "../../primitives/core" }
session = { package = "sp-session", path = "../../primitives/session" }
+1 -1
View File
@@ -16,6 +16,6 @@ service = { package = "sc-service", path = "../../service", default-features = f
network = { package = "sc-network", path = "../../network" }
consensus = { package = "sp-consensus", path = "../../../primitives/consensus/common" }
client = { package = "sc-client", path = "../../" }
sp-runtime = { path = "../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../primitives/runtime" }
primitives = { package = "sp-core", path = "../../../primitives/core" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../../primitives/transaction-pool" }
+1 -1
View File
@@ -12,7 +12,7 @@ log = "0.4.8"
parking_lot = "0.9.0"
primitives = { package = "sp-core", path = "../../primitives/core" }
sp-api = { path = "../../primitives/sr-api" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-runtime = { path = "../../primitives/runtime" }
txpool = { package = "sc-transaction-graph", path = "./graph" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
client-api = { package = "sc-client-api", path = "../api" }
@@ -11,7 +11,7 @@ log = "0.4.8"
parking_lot = "0.9.0"
serde = { version = "1.0.101", features = ["derive"] }
primitives = { package = "sp-core", path = "../../../primitives/core" }
sp-runtime = { path = "../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../primitives/runtime" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../../primitives/transaction-pool" }
[dev-dependencies]