From 6591b034809116786011d4b08d46f91b6c9bdbec Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Fri, 28 Aug 2020 12:23:41 +0200 Subject: [PATCH] Companion PR: add weightinfo for collective (#1524) * add and use generated weights for collective pallet * correct pallet name * MaxMembers * add weight to technical collective * Fix const assert * update weights * update import * "Update Substrate" * bump spec_version Co-authored-by: Shawn Tabrizi Co-authored-by: parity-processbot <> --- polkadot/Cargo.lock | 269 +++++++++--------- polkadot/runtime/kusama/src/lib.rs | 14 +- polkadot/runtime/kusama/src/weights/mod.rs | 1 + .../kusama/src/weights/pallet_collective.rs | 97 +++++++ polkadot/runtime/polkadot/src/lib.rs | 14 +- polkadot/runtime/polkadot/src/weights/mod.rs | 1 + .../polkadot/src/weights/pallet_collective.rs | 97 +++++++ 7 files changed, 349 insertions(+), 144 deletions(-) create mode 100644 polkadot/runtime/kusama/src/weights/pallet_collective.rs create mode 100644 polkadot/runtime/polkadot/src/weights/pallet_collective.rs diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 57d3d3192f..18dc61d6b8 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1485,7 +1485,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", ] @@ -1493,7 +1493,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -1511,7 +1511,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1529,7 +1529,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -1544,7 +1544,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "serde", @@ -1555,7 +1555,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "bitmask", "frame-metadata", @@ -1580,7 +1580,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1591,7 +1591,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1603,7 +1603,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1613,7 +1613,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1629,7 +1629,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -1643,7 +1643,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-api", @@ -3842,7 +3842,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -3858,7 +3858,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -3873,7 +3873,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -3898,7 +3898,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -3912,7 +3912,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -3928,7 +3928,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -3943,7 +3943,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -3958,7 +3958,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -3974,7 +3974,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -3996,7 +3996,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4012,7 +4012,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4032,7 +4032,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4048,7 +4048,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4062,7 +4062,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4077,7 +4077,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4091,7 +4091,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4106,7 +4106,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4127,7 +4127,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4142,7 +4142,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4155,7 +4155,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "enumflags2", "frame-support", @@ -4170,7 +4170,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4185,7 +4185,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4205,7 +4205,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4221,7 +4221,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4235,7 +4235,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4257,7 +4257,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -4268,7 +4268,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4282,7 +4282,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4300,7 +4300,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "frame-system", @@ -4317,7 +4317,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4335,7 +4335,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-support", "parity-scale-codec", @@ -4348,7 +4348,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4363,7 +4363,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4379,7 +4379,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6525,7 +6525,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "bytes 0.5.5", "derive_more 0.99.9", @@ -6553,7 +6553,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6577,7 +6577,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6594,7 +6594,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6611,7 +6611,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -6622,7 +6622,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6669,7 +6669,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "fnv", @@ -6705,7 +6705,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "blake2-rfc", "hash-db", @@ -6735,7 +6735,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6746,7 +6746,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "fork-tree", @@ -6790,7 +6790,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6814,7 +6814,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6827,7 +6827,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6850,7 +6850,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "log 0.4.11", "sc-client-api", @@ -6864,7 +6864,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "lazy_static", @@ -6892,7 +6892,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -6909,7 +6909,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6924,7 +6924,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6942,7 +6942,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -6979,7 +6979,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -7001,7 +7001,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -7019,7 +7019,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "hex", @@ -7035,7 +7035,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "hash-db", "lazy_static", @@ -7054,9 +7054,10 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "async-std", + "async-trait", "bitflags", "bs58", "bytes 0.5.5", @@ -7107,7 +7108,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7122,7 +7123,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "bytes 0.5.5", "fnv", @@ -7149,7 +7150,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "libp2p", @@ -7162,7 +7163,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "log 0.4.11", "substrate-prometheus-endpoint", @@ -7171,7 +7172,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "hash-db", @@ -7203,7 +7204,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7227,7 +7228,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -7243,7 +7244,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "directories", @@ -7304,7 +7305,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -7318,7 +7319,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7339,7 +7340,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "erased-serde", "log 0.4.11", @@ -7357,7 +7358,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7378,7 +7379,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7841,7 +7842,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -7853,7 +7854,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "hash-db", "parity-scale-codec", @@ -7868,7 +7869,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7880,7 +7881,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "serde", @@ -7892,7 +7893,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7905,7 +7906,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-api", @@ -7917,7 +7918,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7928,7 +7929,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-api", @@ -7940,7 +7941,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -7957,7 +7958,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "serde", "serde_json", @@ -7966,7 +7967,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7992,7 +7993,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "merlin", "parity-scale-codec", @@ -8011,7 +8012,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8020,7 +8021,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -8032,7 +8033,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "base58", "blake2-rfc", @@ -8076,7 +8077,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -8085,7 +8086,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -8095,7 +8096,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "environmental", "parity-scale-codec", @@ -8106,7 +8107,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "finality-grandpa", "log 0.4.11", @@ -8122,7 +8123,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -8132,7 +8133,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "parity-scale-codec", @@ -8144,7 +8145,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "hash-db", @@ -8165,7 +8166,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "lazy_static", "sp-core", @@ -8176,7 +8177,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "serde", @@ -8188,7 +8189,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -8199,7 +8200,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "sp-api", "sp-core", @@ -8209,7 +8210,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "backtrace", "log 0.4.11", @@ -8218,7 +8219,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "serde", "sp-core", @@ -8227,7 +8228,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "either", "hash256-std-hasher", @@ -8249,7 +8250,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "primitive-types", @@ -8265,7 +8266,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "Inflector", "proc-macro-crate", @@ -8277,7 +8278,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "serde", "serde_json", @@ -8286,7 +8287,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-api", @@ -8299,7 +8300,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8309,7 +8310,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "hash-db", "itertools 0.9.0", @@ -8330,12 +8331,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" [[package]] name = "sp-storage" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8348,7 +8349,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8362,7 +8363,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "log 0.4.11", "rental", @@ -8372,7 +8373,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -8387,7 +8388,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "hash-db", "memory-db", @@ -8401,7 +8402,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "futures-core", @@ -8413,7 +8414,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8425,7 +8426,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8565,7 +8566,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "chrono", "console_error_panic_hook", @@ -8591,7 +8592,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "platforms", ] @@ -8599,7 +8600,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -8622,7 +8623,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "async-std", "derive_more 0.99.9", @@ -8636,7 +8637,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -8662,7 +8663,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "futures 0.3.5", "substrate-test-utils-derive", @@ -8672,7 +8673,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate?branch=master#35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" +source = "git+https://github.com/paritytech/substrate#86ae27e0fc829ab5cf269c3a8659e057736f6a9b" dependencies = [ "proc-macro-crate", "quote 1.0.7", diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 41ecdba4dd..9b5c68e65b 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -87,7 +87,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 2023, + spec_version: 2024, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, @@ -407,6 +407,7 @@ impl pallet_democracy::Trait for Runtime { parameter_types! { pub const CouncilMotionDuration: BlockNumber = 3 * DAYS; pub const CouncilMaxProposals: u32 = 100; + pub const CouncilMaxMembers: u32 = 100; } type CouncilCollective = pallet_collective::Instance1; @@ -416,7 +417,8 @@ impl pallet_collective::Trait for Runtime { type Event = Event; type MotionDuration = CouncilMotionDuration; type MaxProposals = CouncilMaxProposals; - type WeightInfo = (); + type MaxMembers = CouncilMaxMembers; + type WeightInfo = weights::pallet_collective::WeightInfo; } parameter_types! { @@ -428,8 +430,8 @@ parameter_types! { pub const DesiredRunnersUp: u32 = 19; pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; } -// Make sure that there are no more than MAX_MEMBERS members elected via phragmen. -const_assert!(DesiredMembers::get() <= pallet_collective::MAX_MEMBERS); +// Make sure that there are no more than MaxMembers members elected via phragmen. +const_assert!(DesiredMembers::get() <= CouncilMaxMembers::get()); impl pallet_elections_phragmen::Trait for Runtime { type Event = Event; @@ -452,6 +454,7 @@ impl pallet_elections_phragmen::Trait for Runtime { parameter_types! { pub const TechnicalMotionDuration: BlockNumber = 3 * DAYS; pub const TechnicalMaxProposals: u32 = 100; + pub const TechnicalMaxMembers: u32 = 100; } type TechnicalCollective = pallet_collective::Instance2; @@ -461,7 +464,8 @@ impl pallet_collective::Trait for Runtime { type Event = Event; type MotionDuration = TechnicalMotionDuration; type MaxProposals = TechnicalMaxProposals; - type WeightInfo = (); + type MaxMembers = TechnicalMaxMembers; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_membership::Trait for Runtime { diff --git a/polkadot/runtime/kusama/src/weights/mod.rs b/polkadot/runtime/kusama/src/weights/mod.rs index a54417c2d0..bdd52a128e 100644 --- a/polkadot/runtime/kusama/src/weights/mod.rs +++ b/polkadot/runtime/kusama/src/weights/mod.rs @@ -18,6 +18,7 @@ pub mod frame_system; pub mod pallet_balances; +pub mod pallet_collective; pub mod pallet_democracy; pub mod pallet_timestamp; pub mod pallet_utility; diff --git a/polkadot/runtime/kusama/src/weights/pallet_collective.rs b/polkadot/runtime/kusama/src/weights/pallet_collective.rs new file mode 100644 index 0000000000..32b4ad02d7 --- /dev/null +++ b/polkadot/runtime/kusama/src/weights/pallet_collective.rs @@ -0,0 +1,97 @@ +// Copyright (C) 2020 Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0-rc6 + +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::weights::{Weight, constants::RocksDbWeight as DbWeight}; + +pub struct WeightInfo; +impl pallet_collective::WeightInfo for WeightInfo { + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + (0 as Weight) + .saturating_add((21040000 as Weight).saturating_mul(m as Weight)) + .saturating_add((173000 as Weight).saturating_mul(n as Weight)) + .saturating_add((31595000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) + .saturating_add(DbWeight::get().writes(2 as Weight)) + .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) + } + fn execute(b: u32, m: u32, ) -> Weight { + (43359000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add((123000 as Weight).saturating_mul(m as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + } + fn propose_execute(b: u32, m: u32, ) -> Weight { + (54134000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add((239000 as Weight).saturating_mul(m as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + } + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (90650000 as Weight) + .saturating_add((5000 as Weight).saturating_mul(b as Weight)) + .saturating_add((152000 as Weight).saturating_mul(m as Weight)) + .saturating_add((970000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().writes(4 as Weight)) + } + fn vote(m: u32, ) -> Weight { + (74460000 as Weight) + .saturating_add((290000 as Weight).saturating_mul(m as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (86360000 as Weight) + .saturating_add((232000 as Weight).saturating_mul(m as Weight)) + .saturating_add((954000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (123653000 as Weight) + .saturating_add((1000 as Weight).saturating_mul(b as Weight)) + .saturating_add((287000 as Weight).saturating_mul(m as Weight)) + .saturating_add((920000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (95395000 as Weight) + .saturating_add((236000 as Weight).saturating_mul(m as Weight)) + .saturating_add((965000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (135284000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add((218000 as Weight).saturating_mul(m as Weight)) + .saturating_add((951000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(5 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn disapprove_proposal(p: u32, ) -> Weight { + (50500000 as Weight) + .saturating_add((966000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } +} diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 6db036ab56..e53ef2f472 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -86,7 +86,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 23, + spec_version: 24, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, @@ -459,6 +459,7 @@ impl pallet_democracy::Trait for Runtime { parameter_types! { pub const CouncilMotionDuration: BlockNumber = 7 * DAYS; pub const CouncilMaxProposals: u32 = 100; + pub const CouncilMaxMembers: u32 = 100; } type CouncilCollective = pallet_collective::Instance1; @@ -468,7 +469,8 @@ impl pallet_collective::Trait for Runtime { type Event = Event; type MotionDuration = CouncilMotionDuration; type MaxProposals = CouncilMaxProposals; - type WeightInfo = (); + type MaxMembers = CouncilMaxMembers; + type WeightInfo = weights::pallet_collective::WeightInfo; } parameter_types! { @@ -481,8 +483,8 @@ parameter_types! { pub const DesiredRunnersUp: u32 = 20; pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; } -// Make sure that there are no more than MAX_MEMBERS members elected via phragmen. -const_assert!(DesiredMembers::get() <= pallet_collective::MAX_MEMBERS); +// Make sure that there are no more than `MaxMembers` members elected via phragmen. +const_assert!(DesiredMembers::get() <= CouncilMaxMembers::get()); impl pallet_elections_phragmen::Trait for Runtime { type Event = Event; @@ -505,6 +507,7 @@ impl pallet_elections_phragmen::Trait for Runtime { parameter_types! { pub const TechnicalMotionDuration: BlockNumber = 7 * DAYS; pub const TechnicalMaxProposals: u32 = 100; + pub const TechnicalMaxMembers: u32 = 100; } type TechnicalCollective = pallet_collective::Instance2; @@ -514,7 +517,8 @@ impl pallet_collective::Trait for Runtime { type Event = Event; type MotionDuration = TechnicalMotionDuration; type MaxProposals = TechnicalMaxProposals; - type WeightInfo = (); + type MaxMembers = TechnicalMaxMembers; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_membership::Trait for Runtime { diff --git a/polkadot/runtime/polkadot/src/weights/mod.rs b/polkadot/runtime/polkadot/src/weights/mod.rs index a54417c2d0..bdd52a128e 100644 --- a/polkadot/runtime/polkadot/src/weights/mod.rs +++ b/polkadot/runtime/polkadot/src/weights/mod.rs @@ -18,6 +18,7 @@ pub mod frame_system; pub mod pallet_balances; +pub mod pallet_collective; pub mod pallet_democracy; pub mod pallet_timestamp; pub mod pallet_utility; diff --git a/polkadot/runtime/polkadot/src/weights/pallet_collective.rs b/polkadot/runtime/polkadot/src/weights/pallet_collective.rs new file mode 100644 index 0000000000..32b4ad02d7 --- /dev/null +++ b/polkadot/runtime/polkadot/src/weights/pallet_collective.rs @@ -0,0 +1,97 @@ +// Copyright (C) 2020 Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0-rc6 + +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::weights::{Weight, constants::RocksDbWeight as DbWeight}; + +pub struct WeightInfo; +impl pallet_collective::WeightInfo for WeightInfo { + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + (0 as Weight) + .saturating_add((21040000 as Weight).saturating_mul(m as Weight)) + .saturating_add((173000 as Weight).saturating_mul(n as Weight)) + .saturating_add((31595000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) + .saturating_add(DbWeight::get().writes(2 as Weight)) + .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) + } + fn execute(b: u32, m: u32, ) -> Weight { + (43359000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add((123000 as Weight).saturating_mul(m as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + } + fn propose_execute(b: u32, m: u32, ) -> Weight { + (54134000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add((239000 as Weight).saturating_mul(m as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + } + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (90650000 as Weight) + .saturating_add((5000 as Weight).saturating_mul(b as Weight)) + .saturating_add((152000 as Weight).saturating_mul(m as Weight)) + .saturating_add((970000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().writes(4 as Weight)) + } + fn vote(m: u32, ) -> Weight { + (74460000 as Weight) + .saturating_add((290000 as Weight).saturating_mul(m as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (86360000 as Weight) + .saturating_add((232000 as Weight).saturating_mul(m as Weight)) + .saturating_add((954000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (123653000 as Weight) + .saturating_add((1000 as Weight).saturating_mul(b as Weight)) + .saturating_add((287000 as Weight).saturating_mul(m as Weight)) + .saturating_add((920000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (95395000 as Weight) + .saturating_add((236000 as Weight).saturating_mul(m as Weight)) + .saturating_add((965000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (135284000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add((218000 as Weight).saturating_mul(m as Weight)) + .saturating_add((951000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(5 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn disapprove_proposal(p: u32, ) -> Weight { + (50500000 as Weight) + .saturating_add((966000 as Weight).saturating_mul(p as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } +}