mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 01:11:04 +00:00
Improve and unify testing facilities (#1844)
* Improve and unify testing facilities This improves the testing facilities by making the test client easier to use. It also removes code that is not required for the test client. Besides that it also moves the test service and test client under `node/test`. * Update Cargo.lock * Update node/test/client/src/block_builder.rs Co-authored-by: Andronik Ordian <write@reusable.software> * Remove explicit lifetime annotation * Fix warnings and add extra `BlockBuilderExt` Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
Generated
+53
-34
@@ -464,7 +464,7 @@ dependencies = [
|
||||
"cfg-if",
|
||||
"clang-sys",
|
||||
"clap",
|
||||
"env_logger",
|
||||
"env_logger 0.7.1",
|
||||
"lazy_static",
|
||||
"lazycell",
|
||||
"log 0.4.11",
|
||||
@@ -1312,7 +1312,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"humantime",
|
||||
"humantime 1.3.0",
|
||||
"log 0.4.11",
|
||||
"regex",
|
||||
"termcolor",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "env_logger"
|
||||
version = "0.8.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "54532e3223c5af90a6a757c90b5c5521564b07e5e7a958681bcd2afad421cdcd"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"humantime 2.0.1",
|
||||
"log 0.4.11",
|
||||
"regex",
|
||||
"termcolor",
|
||||
@@ -1454,7 +1467,7 @@ version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8b3937f028664bd0e13df401ba49a4567ccda587420365823242977f06609ed1"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"env_logger 0.7.1",
|
||||
"log 0.4.11",
|
||||
]
|
||||
|
||||
@@ -2268,6 +2281,12 @@ dependencies = [
|
||||
"quick-error",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "humantime"
|
||||
version = "2.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
|
||||
|
||||
[[package]]
|
||||
name = "hyper"
|
||||
version = "0.12.35"
|
||||
@@ -4763,7 +4782,7 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"assert_matches",
|
||||
"bitvec",
|
||||
"env_logger",
|
||||
"env_logger 0.7.1",
|
||||
"futures 0.3.5",
|
||||
"futures-timer 3.0.2",
|
||||
"log 0.4.11",
|
||||
@@ -4794,7 +4813,7 @@ dependencies = [
|
||||
"assert_matches",
|
||||
"bitvec",
|
||||
"derive_more 0.99.11",
|
||||
"env_logger",
|
||||
"env_logger 0.7.1",
|
||||
"futures 0.3.5",
|
||||
"futures-timer 3.0.2",
|
||||
"log 0.4.11",
|
||||
@@ -4848,7 +4867,7 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"assert_matches",
|
||||
"derive_more 0.99.11",
|
||||
"env_logger",
|
||||
"env_logger 0.7.1",
|
||||
"futures 0.3.5",
|
||||
"futures-timer 3.0.2",
|
||||
"log 0.4.11",
|
||||
@@ -4932,7 +4951,7 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"assert_matches",
|
||||
"derive_more 0.99.11",
|
||||
"env_logger",
|
||||
"env_logger 0.7.1",
|
||||
"futures 0.3.5",
|
||||
"futures-timer 3.0.2",
|
||||
"kvdb",
|
||||
@@ -5177,7 +5196,7 @@ dependencies = [
|
||||
"assert_matches",
|
||||
"async-trait",
|
||||
"derive_more 0.99.11",
|
||||
"env_logger",
|
||||
"env_logger 0.7.1",
|
||||
"futures 0.3.5",
|
||||
"futures-timer 3.0.2",
|
||||
"log 0.4.11",
|
||||
@@ -5485,7 +5504,7 @@ dependencies = [
|
||||
name = "polkadot-service"
|
||||
version = "0.8.3"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"env_logger 0.8.1",
|
||||
"frame-benchmarking",
|
||||
"frame-system-rpc-runtime-api",
|
||||
"futures 0.3.5",
|
||||
@@ -5506,7 +5525,7 @@ dependencies = [
|
||||
"polkadot-primitives",
|
||||
"polkadot-rpc",
|
||||
"polkadot-runtime",
|
||||
"polkadot-test-runtime-client",
|
||||
"polkadot-test-client",
|
||||
"rococo-v1-runtime",
|
||||
"sc-authority-discovery",
|
||||
"sc-block-builder",
|
||||
@@ -5581,6 +5600,29 @@ dependencies = [
|
||||
"sp-core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "polkadot-test-client"
|
||||
version = "0.8.25"
|
||||
dependencies = [
|
||||
"parity-scale-codec",
|
||||
"polkadot-primitives",
|
||||
"polkadot-test-runtime",
|
||||
"polkadot-test-service",
|
||||
"sc-block-builder",
|
||||
"sc-consensus",
|
||||
"sc-service",
|
||||
"sp-api",
|
||||
"sp-blockchain",
|
||||
"sp-consensus",
|
||||
"sp-core",
|
||||
"sp-inherents",
|
||||
"sp-keyring",
|
||||
"sp-runtime",
|
||||
"sp-state-machine",
|
||||
"sp-timestamp",
|
||||
"substrate-test-client",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "polkadot-test-runtime"
|
||||
version = "0.8.25"
|
||||
@@ -5640,32 +5682,9 @@ dependencies = [
|
||||
"tiny-keccak 1.5.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "polkadot-test-runtime-client"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"futures 0.3.5",
|
||||
"pallet-timestamp",
|
||||
"parity-scale-codec",
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-common",
|
||||
"polkadot-test-runtime",
|
||||
"polkadot-test-service",
|
||||
"sc-block-builder",
|
||||
"sc-client-api",
|
||||
"sc-consensus",
|
||||
"sc-light",
|
||||
"sc-service",
|
||||
"sp-api",
|
||||
"sp-blockchain",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"substrate-test-client",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "polkadot-test-service"
|
||||
version = "0.8.2"
|
||||
version = "0.8.25"
|
||||
dependencies = [
|
||||
"frame-benchmarking",
|
||||
"frame-system",
|
||||
|
||||
Reference in New Issue
Block a user