diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 6fe2ada798..7f8a7f43c4 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "beefy-primitives", "fnv", @@ -495,7 +495,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -515,12 +515,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "scale-info", @@ -1888,6 +1888,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" +[[package]] +name = "fixedbitset" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e" + [[package]] name = "flate2" version = "1.0.16" @@ -1910,7 +1916,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", ] @@ -1928,7 +1934,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -1948,7 +1954,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "Inflector", "chrono", @@ -1974,7 +1980,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -1988,7 +1994,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -2016,7 +2022,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "bitflags", "frame-metadata", @@ -2031,6 +2037,7 @@ dependencies = [ "smallvec", "sp-arithmetic", "sp-core", + "sp-core-hashing-proc-macro", "sp-inherents", "sp-io", "sp-runtime", @@ -2044,7 +2051,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2056,7 +2063,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -2068,7 +2075,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "proc-macro2", "quote", @@ -2078,7 +2085,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2101,7 +2108,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -2112,7 +2119,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "log", @@ -2129,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -2144,7 +2151,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "sp-api", @@ -2153,7 +2160,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "sp-api", @@ -2366,7 +2373,7 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" [[package]] name = "generate-bags" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "chrono", "frame-election-provider-support", @@ -3382,8 +3389,8 @@ dependencies = [ "multistream-select", "parking_lot", "pin-project 1.0.8", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "rand 0.7.3", "ring", "rw-stream-sink", @@ -3432,8 +3439,8 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "rand 0.7.3", "smallvec", ] @@ -3454,8 +3461,8 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "rand 0.7.3", "regex", "sha2 0.9.8", @@ -3474,8 +3481,8 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "smallvec", "wasm-timer", ] @@ -3495,8 +3502,8 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "rand 0.7.3", "sha2 0.9.8", "smallvec", @@ -3557,8 +3564,8 @@ dependencies = [ "lazy_static", "libp2p-core", "log", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "rand 0.8.4", "sha2 0.9.8", "snow", @@ -3593,8 +3600,8 @@ dependencies = [ "futures 0.3.17", "libp2p-core", "log", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "unsigned-varint 0.7.0", "void", ] @@ -3627,8 +3634,8 @@ dependencies = [ "libp2p-swarm", "log", "pin-project 1.0.8", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.8.0", "rand 0.7.3", "smallvec", "unsigned-varint 0.7.0", @@ -4075,6 +4082,15 @@ dependencies = [ "libc", ] +[[package]] +name = "memmap2" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4647a11b578fead29cdbb34d4adef8dd3dc35b876c9c6d5240d83f205abfe96e" +dependencies = [ + "libc", +] + [[package]] name = "memoffset" version = "0.5.5" @@ -4607,7 +4623,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4621,7 +4637,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -4637,7 +4653,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -4652,7 +4668,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4676,7 +4692,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4693,10 +4709,32 @@ dependencies = [ "sp-tracing", ] +[[package]] +name = "pallet-bags-list-remote-tests" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" +dependencies = [ + "clap", + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "pallet-bags-list", + "pallet-staking", + "remote-externalities", + "sp-core", + "sp-runtime", + "sp-std", + "sp-storage", + "sp-tracing", + "structopt", + "tokio", +] + [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4711,7 +4749,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "beefy-primitives", "frame-support", @@ -4727,7 +4765,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4752,7 +4790,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4837,7 +4875,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4854,7 +4892,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4870,7 +4908,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4894,7 +4932,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4912,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4927,7 +4965,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4988,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4966,7 +5004,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -4986,7 +5024,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5003,7 +5041,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5020,7 +5058,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5038,7 +5076,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5054,7 +5092,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5071,7 +5109,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5086,7 +5124,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5100,7 +5138,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5117,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5140,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5169,7 +5207,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5185,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5206,7 +5244,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5222,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5236,7 +5274,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5259,7 +5297,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -5270,7 +5308,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "log", "sp-arithmetic", @@ -5279,7 +5317,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5293,7 +5331,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5311,7 +5349,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5330,7 +5368,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-support", "frame-system", @@ -5347,7 +5385,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5364,7 +5402,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5375,7 +5413,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5392,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5408,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-benchmarking", "frame-support", @@ -5469,9 +5507,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91b679c6acc14fac74382942e2b73bea441686a33430b951ea03b5aeb6a7f254" +checksum = "e7ccc4a8687027deb53d45c5434a1f1b330c9d1069a59cfe80a62aa9a1da25ae" dependencies = [ "blake2-rfc", "crc32fast", @@ -5480,7 +5518,7 @@ dependencies = [ "libc", "log", "lz4", - "memmap2", + "memmap2 0.2.0", "parking_lot", "rand 0.8.4", "snap", @@ -5720,7 +5758,17 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" dependencies = [ - "fixedbitset", + "fixedbitset 0.2.0", + "indexmap", +] + +[[package]] +name = "petgraph" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f" +dependencies = [ + "fixedbitset 0.4.0", "indexmap", ] @@ -7408,7 +7456,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020" dependencies = [ "bytes 1.0.1", - "prost-derive", + "prost-derive 0.8.0", +] + +[[package]] +name = "prost" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" +dependencies = [ + "bytes 1.0.1", + "prost-derive 0.9.0", ] [[package]] @@ -7422,9 +7480,29 @@ dependencies = [ "itertools", "log", "multimap", - "petgraph", - "prost", - "prost-types", + "petgraph 0.5.1", + "prost 0.8.0", + "prost-types 0.8.0", + "tempfile", + "which", +] + +[[package]] +name = "prost-build" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" +dependencies = [ + "bytes 1.0.1", + "heck", + "itertools", + "lazy_static", + "log", + "multimap", + "petgraph 0.6.0", + "prost 0.9.0", + "prost-types 0.9.0", + "regex", "tempfile", "which", ] @@ -7442,6 +7520,19 @@ dependencies = [ "syn", ] +[[package]] +name = "prost-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "prost-types" version = "0.8.0" @@ -7449,7 +7540,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b" dependencies = [ "bytes 1.0.1", - "prost", + "prost 0.8.0", +] + +[[package]] +name = "prost-types" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" +dependencies = [ + "bytes 1.0.1", + "prost 0.9.0", ] [[package]] @@ -7760,28 +7861,23 @@ dependencies = [ name = "remote-ext-tests-bags-list" version = "0.9.12" dependencies = [ - "frame-election-provider-support", - "frame-support", + "clap", + "frame-system", "kusama-runtime", "log", - "pallet-bags-list", - "pallet-election-provider-multi-phase", - "pallet-staking", + "pallet-bags-list-remote-tests", "polkadot-runtime", - "remote-externalities", "sp-core", - "sp-runtime", - "sp-std", - "sp-storage", "sp-tracing", "structopt", "tokio", + "westend-runtime", ] [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "env_logger 0.9.0", "jsonrpsee-proc-macros", @@ -8044,7 +8140,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "log", "sp-core", @@ -8055,7 +8151,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "derive_more", @@ -8065,8 +8161,8 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.9.0", "rand 0.7.3", "sc-client-api", "sc-network", @@ -8082,7 +8178,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8105,7 +8201,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8121,9 +8217,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "impl-trait-for-tuples", + "memmap2 0.5.0", "parity-scale-codec", "sc-chain-spec-derive", "sc-network", @@ -8137,7 +8234,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8148,7 +8245,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "chrono", "fdlimit", @@ -8186,7 +8283,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "fnv", "futures 0.3.17", @@ -8214,7 +8311,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "hash-db", "kvdb", @@ -8239,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "futures 0.3.17", @@ -8263,7 +8360,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "derive_more", @@ -8306,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "derive_more", "futures 0.3.17", @@ -8330,7 +8427,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8343,7 +8440,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "assert_matches", "async-trait", @@ -8377,7 +8474,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "futures 0.3.17", @@ -8403,7 +8500,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "sc-client-api", "sp-authorship", @@ -8414,7 +8511,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "lazy_static", "libsecp256k1 0.6.0", @@ -8426,6 +8523,7 @@ dependencies = [ "sc-executor-wasmtime", "sp-api", "sp-core", + "sp-core-hashing-proc-macro", "sp-externalities", "sp-io", "sp-panic-handler", @@ -8440,7 +8538,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "derive_more", "environmental", @@ -8458,7 +8556,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "log", "parity-scale-codec", @@ -8474,7 +8572,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8492,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "derive_more", @@ -8529,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "derive_more", "finality-grandpa", @@ -8553,7 +8651,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "ansi_term 0.12.1", "futures 0.3.17", @@ -8570,7 +8668,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "derive_more", @@ -8585,7 +8683,7 @@ dependencies = [ [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "hash-db", "parity-scale-codec", @@ -8603,7 +8701,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-std", "async-trait", @@ -8627,8 +8725,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "pin-project 1.0.8", - "prost", - "prost-build", + "prost 0.8.0", + "prost-build 0.9.0", "rand 0.7.3", "sc-block-builder", "sc-client-api", @@ -8654,7 +8752,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8670,7 +8768,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "bytes 1.0.1", "fnv", @@ -8698,7 +8796,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "libp2p", @@ -8711,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8720,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "hash-db", @@ -8751,7 +8849,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "jsonrpc-core", @@ -8776,7 +8874,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "jsonrpc-core", @@ -8793,7 +8891,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "directories", @@ -8857,7 +8955,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "log", "parity-scale-codec", @@ -8871,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8893,7 +8991,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "chrono", "futures 0.3.17", @@ -8911,7 +9009,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8942,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8953,7 +9051,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "intervalier", @@ -8980,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "derive_more", "futures 0.3.17", @@ -8994,7 +9092,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -9417,7 +9515,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "hash-db", "log", @@ -9434,7 +9532,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", @@ -9446,7 +9544,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "scale-info", @@ -9459,7 +9557,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "integer-sqrt", "num-traits", @@ -9474,7 +9572,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "scale-info", @@ -9487,7 +9585,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "parity-scale-codec", @@ -9499,7 +9597,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "sp-api", @@ -9511,7 +9609,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "log", @@ -9529,7 +9627,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "futures 0.3.17", @@ -9548,7 +9646,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "merlin", @@ -9571,7 +9669,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "scale-info", @@ -9582,7 +9680,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9594,7 +9692,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "base58", "bitflags", @@ -9623,6 +9721,7 @@ dependencies = [ "secrecy", "serde", "sha2 0.9.8", + "sp-core-hashing", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -9638,10 +9737,34 @@ dependencies = [ "zeroize", ] +[[package]] +name = "sp-core-hashing" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" +dependencies = [ + "blake2-rfc", + "byteorder", + "sha2 0.9.8", + "sp-std", + "tiny-keccak", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing", + "syn", +] + [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "kvdb", "parking_lot", @@ -9650,7 +9773,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "proc-macro2", "quote", @@ -9660,7 +9783,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "environmental", "parity-scale-codec", @@ -9671,7 +9794,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "finality-grandpa", "log", @@ -9689,7 +9812,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9703,7 +9826,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "hash-db", @@ -9727,7 +9850,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "lazy_static", "sp-core", @@ -9738,7 +9861,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "derive_more", @@ -9755,7 +9878,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "zstd", ] @@ -9763,7 +9886,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "scale-info", @@ -9778,7 +9901,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -9789,7 +9912,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "sp-api", "sp-core", @@ -9799,15 +9922,17 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "backtrace", + "lazy_static", + "regex", ] [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "rustc-hash", "serde", @@ -9817,7 +9942,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "either", "hash256-std-hasher", @@ -9839,7 +9964,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9856,7 +9981,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -9868,7 +9993,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "serde", "serde_json", @@ -9877,7 +10002,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "scale-info", @@ -9891,7 +10016,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "scale-info", @@ -9902,7 +10027,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "hash-db", "log", @@ -9925,12 +10050,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9943,7 +10068,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "log", "sp-core", @@ -9956,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9972,7 +10097,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "sp-std", @@ -9984,7 +10109,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "sp-api", "sp-runtime", @@ -9993,7 +10118,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "log", @@ -10009,7 +10134,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "hash-db", "memory-db", @@ -10024,7 +10149,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10040,7 +10165,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10051,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10279,7 +10404,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "platforms", ] @@ -10287,7 +10412,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.17", @@ -10309,7 +10434,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-std", "derive_more", @@ -10323,7 +10448,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "async-trait", "futures 0.3.17", @@ -10350,7 +10475,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "futures 0.3.17", "substrate-test-utils-derive", @@ -10360,7 +10485,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -10371,7 +10496,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "ansi_term 0.12.1", "build-helper", @@ -10524,7 +10649,7 @@ dependencies = [ [[package]] name = "test-runner" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "frame-system", "futures 0.3.17", @@ -10966,7 +11091,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b63e1c525baa33097ceccbd2ca828acbd36b0262" +source = "git+https://github.com/paritytech/substrate?branch=master#26e5f5f526ced19dfe649010e8f19e2c3f957b12" dependencies = [ "jsonrpsee-ws-client", "log", diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index 8ab176c69b..0d1f909851 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -94,7 +94,7 @@ members = [ "parachain/test-parachains/adder/collator", "utils/staking-miner", "utils/remote-ext-tests/bags-list", - "utils/voter-bags", + "utils/generate-bags", ] # We want to be able to build the bridge relayer without pulling it (and all of its diff --git a/polkadot/utils/voter-bags/Cargo.toml b/polkadot/utils/generate-bags/Cargo.toml similarity index 100% rename from polkadot/utils/voter-bags/Cargo.toml rename to polkadot/utils/generate-bags/Cargo.toml diff --git a/polkadot/utils/voter-bags/src/main.rs b/polkadot/utils/generate-bags/src/main.rs similarity index 100% rename from polkadot/utils/voter-bags/src/main.rs rename to polkadot/utils/generate-bags/src/main.rs diff --git a/polkadot/utils/remote-ext-tests/bags-list/Cargo.toml b/polkadot/utils/remote-ext-tests/bags-list/Cargo.toml index 1421a78b12..35c16507fc 100644 --- a/polkadot/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/polkadot/utils/remote-ext-tests/bags-list/Cargo.toml @@ -7,18 +7,14 @@ edition = "2018" [dependencies] polkadot-runtime = { version = "0.9.8", path = "../../../runtime/polkadot" } kusama-runtime = { version = "0.9.8", path = "../../../runtime/kusama" } +westend-runtime = { version = "0.9.8", path = "../../../runtime/westend" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-bags-list = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-bags-list-remote-tests = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } + tokio = { version = "1", features = ["macros"] } log = { version = "0.4.14" } structopt = {version = "0.3.25" } +clap = { version = "2.33.3" } diff --git a/polkadot/utils/remote-ext-tests/bags-list/src/main.rs b/polkadot/utils/remote-ext-tests/bags-list/src/main.rs index c7ef5cc627..af51d51888 100644 --- a/polkadot/utils/remote-ext-tests/bags-list/src/main.rs +++ b/polkadot/utils/remote-ext-tests/bags-list/src/main.rs @@ -14,53 +14,123 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Remote tests. +//! Remote tests for bags-list pallet. +use clap::arg_enum; +use std::convert::TryInto; use structopt::StructOpt; -mod voter_bags; - -#[derive(StructOpt)] -enum Runtime { - Kusama, - Polkadot, +arg_enum! { + #[derive(Debug)] + enum Command { + CheckMigration, + SanityCheck, + Snapshot, + } } -impl std::str::FromStr for Runtime { - type Err = &'static str; - fn from_str(s: &str) -> Result { - match s.to_lowercase().as_str() { - "kusama" => Ok(Runtime::Kusama), - "polkadot" => Ok(Runtime::Polkadot), - _ => Err("wrong Runtime: can be 'polkadot' or 'kusama'."), - } +arg_enum! { + #[derive(Debug)] + enum Runtime { + Polkadot, + Kusama, + Westend, } } #[derive(StructOpt)] struct Cli { - #[structopt(long, default_value = "wss://rpc.polkadot.io")] + #[structopt(long, short, default_value = "wss://kusama-rpc.polkadot.io")] uri: String, - #[structopt(long, short, default_value = "polkadot")] + #[structopt(long, short, case_insensitive = true, possible_values = &Runtime::variants(), default_value = "kusama")] runtime: Runtime, + #[structopt(long, short, case_insensitive = true, possible_values = &Command::variants(), default_value = "SanityCheck")] + command: Command, + #[structopt(long, short)] + snapshot_limit: Option, } #[tokio::main] async fn main() { let options = Cli::from_args(); + sp_tracing::try_init_simple(); + + log::info!( + target: "remote-ext-tests", + "using runtime {:?} / command: {:?}", + options.runtime, + options.command + ); + + use pallet_bags_list_remote_tests::*; match options.runtime { - Runtime::Kusama => { + Runtime::Polkadot => sp_core::crypto::set_default_ss58_version( + ::SS58Prefix::get() + .try_into() + .unwrap(), + ), + Runtime::Kusama => sp_core::crypto::set_default_ss58_version( + ::SS58Prefix::get() + .try_into() + .unwrap(), + ), + Runtime::Westend => sp_core::crypto::set_default_ss58_version( + ::SS58Prefix::get() + .try_into() + .unwrap(), + ), + }; + + match (options.runtime, options.command) { + (Runtime::Kusama, Command::CheckMigration) => { use kusama_runtime::{constants::currency::UNITS, Block, Runtime}; - voter_bags::test_voter_bags_migration::( - UNITS as u64, + migration::execute::(UNITS as u64, "KSM", options.uri.clone()).await; + }, + (Runtime::Kusama, Command::SanityCheck) => { + use kusama_runtime::{constants::currency::UNITS, Block, Runtime}; + sanity_check::execute::(UNITS as u64, "KSM", options.uri.clone()).await; + }, + (Runtime::Kusama, Command::Snapshot) => { + use kusama_runtime::{constants::currency::UNITS, Block, Runtime}; + snapshot::execute::( + options.snapshot_limit, + UNITS.try_into().unwrap(), options.uri.clone(), ) .await; }, - Runtime::Polkadot => { + + (Runtime::Westend, Command::CheckMigration) => { + use westend_runtime::{constants::currency::UNITS, Block, Runtime}; + migration::execute::(UNITS as u64, "WND", options.uri.clone()).await; + }, + (Runtime::Westend, Command::SanityCheck) => { + use westend_runtime::{constants::currency::UNITS, Block, Runtime}; + sanity_check::execute::(UNITS as u64, "WND", options.uri.clone()).await; + }, + (Runtime::Westend, Command::Snapshot) => { + use westend_runtime::{constants::currency::UNITS, Block, Runtime}; + snapshot::execute::( + options.snapshot_limit, + UNITS.try_into().unwrap(), + options.uri.clone(), + ) + .await; + }, + + (Runtime::Polkadot, Command::CheckMigration) => { use polkadot_runtime::{constants::currency::UNITS, Block, Runtime}; - voter_bags::test_voter_bags_migration::( - UNITS as u64, + migration::execute::(UNITS as u64, "DOT", options.uri.clone()).await; + }, + (Runtime::Polkadot, Command::SanityCheck) => { + use polkadot_runtime::{constants::currency::UNITS, Block, Runtime}; + sanity_check::execute::(UNITS as u64, "DOT", options.uri.clone()).await; + }, + (Runtime::Polkadot, Command::Snapshot) => { + use polkadot_runtime::{constants::currency::UNITS, Block, Runtime}; + snapshot::execute::( + options.snapshot_limit, + UNITS.try_into().unwrap(), options.uri.clone(), ) .await;