mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 12:05:42 +00:00
Fuzz testing for nomination pools (#12002)
* some additional tests and stuff * make sanity public * add some sort of fuzz test for pools * breaks every now and then * breaks every now and then * IT WORKS AND PASSES 100k TESTS * cleanup * safe id addition * fix assert_eq_error_rate * Update frame/nomination-pools/src/tests.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/tests.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * add some doc * Fix * ".git/.scripts/fmt.sh" 1 Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <>
This commit is contained in:
Generated
+34
-43
@@ -905,7 +905,7 @@ dependencies = [
|
||||
"ansi_term",
|
||||
"clap 3.1.18",
|
||||
"node-cli",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"sc-chain-spec",
|
||||
"sc-keystore",
|
||||
"sp-core",
|
||||
@@ -2038,7 +2038,7 @@ dependencies = [
|
||||
"num-traits",
|
||||
"parity-scale-codec",
|
||||
"parking_lot 0.12.1",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"scale-info",
|
||||
]
|
||||
|
||||
@@ -2049,7 +2049,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"rustc-hex",
|
||||
"static_assertions",
|
||||
]
|
||||
@@ -2143,7 +2143,7 @@ dependencies = [
|
||||
"log",
|
||||
"memory-db",
|
||||
"parity-scale-codec",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"rand_pcg 0.3.1",
|
||||
"sc-block-builder",
|
||||
"sc-cli",
|
||||
@@ -2215,7 +2215,7 @@ dependencies = [
|
||||
"frame-support",
|
||||
"honggfuzz",
|
||||
"parity-scale-codec",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"scale-info",
|
||||
"sp-arithmetic",
|
||||
"sp-npos-elections",
|
||||
@@ -3212,7 +3212,7 @@ dependencies = [
|
||||
"jsonrpsee-types",
|
||||
"lazy_static",
|
||||
"parking_lot 0.12.1",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"rustc-hash",
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -3593,7 +3593,7 @@ dependencies = [
|
||||
"log",
|
||||
"prost",
|
||||
"prost-build",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -3620,7 +3620,7 @@ dependencies = [
|
||||
"pin-project",
|
||||
"prost",
|
||||
"prost-build",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"ring",
|
||||
"rw-stream-sink",
|
||||
"sha2 0.10.2",
|
||||
@@ -3767,7 +3767,7 @@ dependencies = [
|
||||
"libp2p-core",
|
||||
"libp2p-swarm",
|
||||
"log",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"smallvec",
|
||||
"socket2",
|
||||
"void",
|
||||
@@ -3821,7 +3821,7 @@ dependencies = [
|
||||
"log",
|
||||
"prost",
|
||||
"prost-build",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"sha2 0.10.2",
|
||||
"snow",
|
||||
"static_assertions",
|
||||
@@ -3895,7 +3895,7 @@ dependencies = [
|
||||
"prost",
|
||||
"prost-build",
|
||||
"prost-codec",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"smallvec",
|
||||
"static_assertions",
|
||||
"thiserror",
|
||||
@@ -3918,7 +3918,7 @@ dependencies = [
|
||||
"log",
|
||||
"prost",
|
||||
"prost-build",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"sha2 0.10.2",
|
||||
"thiserror",
|
||||
"unsigned-varint",
|
||||
@@ -4076,7 +4076,7 @@ dependencies = [
|
||||
"libsecp256k1-core",
|
||||
"libsecp256k1-gen-ecmult",
|
||||
"libsecp256k1-gen-genmult",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"sha2 0.9.8",
|
||||
"typenum",
|
||||
@@ -4502,7 +4502,7 @@ dependencies = [
|
||||
"num-complex",
|
||||
"num-rational 0.4.0",
|
||||
"num-traits",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"rand_distr",
|
||||
"simba",
|
||||
"typenum",
|
||||
@@ -4525,7 +4525,7 @@ version = "0.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146"
|
||||
dependencies = [
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -4685,7 +4685,7 @@ dependencies = [
|
||||
"pallet-transaction-payment",
|
||||
"parity-scale-codec",
|
||||
"platforms",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"regex",
|
||||
"remote-externalities",
|
||||
"sc-authority-discovery",
|
||||
@@ -5341,7 +5341,7 @@ dependencies = [
|
||||
"frame-election-provider-support",
|
||||
"honggfuzz",
|
||||
"pallet-bags-list",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5495,7 +5495,7 @@ dependencies = [
|
||||
"pallet-utility",
|
||||
"parity-scale-codec",
|
||||
"pretty_assertions",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"rand_pcg 0.3.1",
|
||||
"scale-info",
|
||||
"serde",
|
||||
@@ -5931,6 +5931,7 @@ dependencies = [
|
||||
"log",
|
||||
"pallet-balances",
|
||||
"parity-scale-codec",
|
||||
"rand 0.8.5",
|
||||
"scale-info",
|
||||
"sp-core",
|
||||
"sp-io",
|
||||
@@ -6554,7 +6555,7 @@ dependencies = [
|
||||
"lz4",
|
||||
"memmap2 0.2.1",
|
||||
"parking_lot 0.11.2",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"snap",
|
||||
]
|
||||
|
||||
@@ -7168,7 +7169,7 @@ version = "1.0.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
|
||||
dependencies = [
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7207,20 +7208,19 @@ dependencies = [
|
||||
"libc",
|
||||
"rand_chacha 0.2.2",
|
||||
"rand_core 0.5.1",
|
||||
"rand_hc 0.2.0",
|
||||
"rand_hc",
|
||||
"rand_pcg 0.2.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rand"
|
||||
version = "0.8.4"
|
||||
version = "0.8.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
|
||||
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"rand_chacha 0.3.0",
|
||||
"rand_core 0.6.2",
|
||||
"rand_hc 0.3.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7268,7 +7268,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31"
|
||||
dependencies = [
|
||||
"num-traits",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7280,15 +7280,6 @@ dependencies = [
|
||||
"rand_core 0.5.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rand_hc"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
|
||||
dependencies = [
|
||||
"rand_core 0.6.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rand_pcg"
|
||||
version = "0.2.1"
|
||||
@@ -7907,7 +7898,7 @@ dependencies = [
|
||||
"parity-scale-codec",
|
||||
"parking_lot 0.12.1",
|
||||
"quickcheck",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"sc-client-api",
|
||||
"sc-state-db",
|
||||
"sp-arithmetic",
|
||||
@@ -8279,7 +8270,7 @@ dependencies = [
|
||||
"log",
|
||||
"parity-scale-codec",
|
||||
"parking_lot 0.12.1",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"sc-block-builder",
|
||||
"sc-chain-spec",
|
||||
"sc-client-api",
|
||||
@@ -9397,7 +9388,7 @@ dependencies = [
|
||||
"futures",
|
||||
"httparse",
|
||||
"log",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"sha-1 0.9.4",
|
||||
]
|
||||
|
||||
@@ -9877,7 +9868,7 @@ dependencies = [
|
||||
"clap 3.1.18",
|
||||
"honggfuzz",
|
||||
"parity-scale-codec",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"scale-info",
|
||||
"sp-npos-elections",
|
||||
"sp-runtime",
|
||||
@@ -10282,7 +10273,7 @@ dependencies = [
|
||||
"lazy_static",
|
||||
"nalgebra",
|
||||
"num-traits",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -11053,7 +11044,7 @@ dependencies = [
|
||||
"ipnet",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"smallvec",
|
||||
"thiserror",
|
||||
"tinyvec",
|
||||
@@ -11141,7 +11132,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
|
||||
dependencies = [
|
||||
"cfg-if 1.0.0",
|
||||
"digest 0.10.3",
|
||||
"rand 0.8.4",
|
||||
"rand 0.7.3",
|
||||
"static_assertions",
|
||||
]
|
||||
|
||||
@@ -11859,7 +11850,7 @@ dependencies = [
|
||||
"memfd",
|
||||
"memoffset",
|
||||
"paste 1.0.6",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"rustix",
|
||||
"thiserror",
|
||||
"wasmtime-asm-macros",
|
||||
@@ -12151,7 +12142,7 @@ dependencies = [
|
||||
"log",
|
||||
"nohash-hasher",
|
||||
"parking_lot 0.12.1",
|
||||
"rand 0.8.4",
|
||||
"rand 0.8.5",
|
||||
"static_assertions",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user