mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
Make test-client generic over runtime (#2824)
* Make test-client generic over runtime. * Make sure genesis storage is constructed correctly. * Use prelude in tests. * Add an example of how to use test-client with node/runtime. * Bump version. * Rename test-clients.
This commit is contained in:
committed by
Bastian Köcher
parent
cae324598f
commit
ad2d958248
@@ -7,25 +7,13 @@ edition = "2018"
|
||||
[dependencies]
|
||||
client = { package = "substrate-client", path = "../client" }
|
||||
client-db = { package = "substrate-client-db", path = "../client/db", features = ["test-helpers"] }
|
||||
futures = { version = "0.1.17" }
|
||||
parity-codec = "3.5.1"
|
||||
executor = { package = "substrate-executor", path = "../executor" }
|
||||
consensus = { package = "substrate-consensus-common", path = "../consensus/common" }
|
||||
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
|
||||
executor = { package = "substrate-executor", path = "../executor" }
|
||||
futures = { version = "0.1.27" }
|
||||
hash-db = "0.12"
|
||||
keyring = { package = "substrate-keyring", path = "../keyring" }
|
||||
parity-codec = "3.5.1"
|
||||
primitives = { package = "substrate-primitives", path = "../primitives" }
|
||||
state_machine = { package = "substrate-state-machine", path = "../state-machine" }
|
||||
runtime = { package = "substrate-test-runtime", path = "../test-runtime", default-features = false }
|
||||
runtime_primitives = { package = "sr-primitives", path = "../sr-primitives" }
|
||||
state_machine = { package = "substrate-state-machine", path = "../state-machine" }
|
||||
|
||||
[features]
|
||||
default = [
|
||||
"include-wasm-blob",
|
||||
"std",
|
||||
]
|
||||
std = [
|
||||
"runtime/std",
|
||||
]
|
||||
# If enabled, the WASM blob is added to the `GenesisConfig`.
|
||||
include-wasm-blob = [
|
||||
"runtime/include-wasm-blob",
|
||||
]
|
||||
Reference in New Issue
Block a user