diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index b3db7a17f4..a840b06689 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1370,7 +1370,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", ] @@ -1378,7 +1378,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -1395,9 +1395,8 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ - "Inflector", "frame-benchmarking", "parity-scale-codec", "sc-cli", @@ -1414,7 +1413,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -1429,7 +1428,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "serde", @@ -1440,7 +1439,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "bitmask", "frame-metadata", @@ -1465,7 +1464,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1476,7 +1475,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1488,7 +1487,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1498,7 +1497,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1514,7 +1513,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -1528,7 +1527,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-api", @@ -3542,7 +3541,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3558,7 +3557,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3573,7 +3572,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3598,7 +3597,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3612,7 +3611,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3628,7 +3627,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3643,7 +3642,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3658,7 +3657,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3674,7 +3673,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3696,7 +3695,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3712,7 +3711,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3732,7 +3731,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3748,7 +3747,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3762,7 +3761,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3777,7 +3776,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3791,7 +3790,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3806,7 +3805,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3827,7 +3826,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3842,7 +3841,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3855,7 +3854,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "enumflags2", "frame-support", @@ -3870,7 +3869,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3885,7 +3884,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3905,7 +3904,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3921,7 +3920,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3935,7 +3934,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -3957,7 +3956,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -3968,7 +3967,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -3982,7 +3981,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -4000,7 +3999,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "frame-system", @@ -4017,7 +4016,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4035,7 +4034,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-support", "parity-scale-codec", @@ -4048,7 +4047,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -4063,7 +4062,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-benchmarking", "frame-support", @@ -4079,7 +4078,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6225,7 +6224,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "bytes 0.5.5", "derive_more 0.99.9", @@ -6252,7 +6251,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6276,7 +6275,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6293,7 +6292,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -6309,7 +6308,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -6320,7 +6319,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6361,7 +6360,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "fnv", @@ -6397,7 +6396,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "blake2-rfc", "hash-db", @@ -6427,7 +6426,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6438,7 +6437,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "fork-tree", @@ -6482,7 +6481,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6506,7 +6505,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6519,7 +6518,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6542,7 +6541,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "log 0.4.8", "sc-client-api", @@ -6556,7 +6555,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "lazy_static", @@ -6584,7 +6583,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -6601,7 +6600,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6616,7 +6615,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -6637,7 +6636,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "assert_matches", "derive_more 0.99.9", @@ -6675,7 +6674,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -6692,7 +6691,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -6710,7 +6709,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "hex", @@ -6726,7 +6725,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "hash-db", "lazy_static", @@ -6745,7 +6744,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "bitflags", "bs58", @@ -6797,7 +6796,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6812,7 +6811,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "env_logger", "futures 0.3.5", @@ -6839,7 +6838,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "bytes 0.5.5", "fnv", @@ -6866,7 +6865,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "libp2p", @@ -6879,7 +6878,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "log 0.4.8", "substrate-prometheus-endpoint", @@ -6888,7 +6887,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "hash-db", @@ -6920,7 +6919,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6944,7 +6943,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -6960,7 +6959,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "directories", @@ -7023,7 +7022,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -7037,7 +7036,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7058,7 +7057,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "erased-serde", "log 0.4.8", @@ -7075,7 +7074,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7096,7 +7095,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7551,7 +7550,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -7563,7 +7562,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "hash-db", "parity-scale-codec", @@ -7578,7 +7577,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7590,7 +7589,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "serde", @@ -7602,7 +7601,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7615,7 +7614,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-api", @@ -7627,7 +7626,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7638,7 +7637,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-api", @@ -7650,7 +7649,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -7667,7 +7666,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "serde", "serde_json", @@ -7676,7 +7675,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7702,7 +7701,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-api", @@ -7716,7 +7715,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "merlin", "parity-scale-codec", @@ -7735,7 +7734,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7744,7 +7743,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -7756,7 +7755,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "base58", "blake2-rfc", @@ -7800,7 +7799,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -7809,7 +7808,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -7819,7 +7818,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "environmental", "parity-scale-codec", @@ -7830,7 +7829,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "finality-grandpa", "log 0.4.8", @@ -7846,7 +7845,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7856,7 +7855,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "parity-scale-codec", @@ -7868,7 +7867,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "hash-db", @@ -7889,7 +7888,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "lazy_static", "sp-core", @@ -7900,7 +7899,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "serde", @@ -7912,7 +7911,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -7923,7 +7922,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "sp-api", "sp-core", @@ -7933,7 +7932,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "backtrace", "log 0.4.8", @@ -7942,7 +7941,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "serde", "sp-core", @@ -7951,7 +7950,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "either", "hash256-std-hasher", @@ -7973,7 +7972,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "primitive-types", @@ -7988,7 +7987,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "Inflector", "proc-macro-crate", @@ -8000,7 +7999,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "serde", "serde_json", @@ -8009,7 +8008,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-api", @@ -8022,7 +8021,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8032,7 +8031,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "hash-db", "itertools 0.9.0", @@ -8053,12 +8052,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" [[package]] name = "sp-storage" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -8070,7 +8069,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8084,7 +8083,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "log 0.4.8", "rental", @@ -8094,7 +8093,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -8109,7 +8108,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "hash-db", "memory-db", @@ -8123,7 +8122,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "futures-core", @@ -8135,7 +8134,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -8147,7 +8146,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8278,7 +8277,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "chrono", "console_error_panic_hook", @@ -8304,7 +8303,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "platforms", ] @@ -8312,7 +8311,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -8335,7 +8334,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "async-std", "derive_more 0.99.9", @@ -8349,7 +8348,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -8375,7 +8374,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "cfg-if", "frame-executive", @@ -8415,7 +8414,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" dependencies = [ "futures 0.3.5", "parity-scale-codec", @@ -8436,7 +8435,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" +source = "git+https://github.com/paritytech/substrate#549050b7f1740c90855e777daf3f9700750ad7ff" [[package]] name = "substrate-wasm-builder-runner" diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index e2f9b03a04..6049a3d573 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -404,7 +404,7 @@ impl pallet_democracy::Trait for Runtime { type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; type OperationalPreimageOrigin = pallet_collective::EnsureMember; - type WeightInfo = (); + type WeightInfo = weights::pallet_democracy::WeightInfo; } parameter_types! { diff --git a/polkadot/runtime/kusama/src/weights/mod.rs b/polkadot/runtime/kusama/src/weights/mod.rs index b94314e339..fb7c53c603 100644 --- a/polkadot/runtime/kusama/src/weights/mod.rs +++ b/polkadot/runtime/kusama/src/weights/mod.rs @@ -17,3 +17,4 @@ /// A collection of weight modules used for pallets in the runtime. pub mod pallet_balances; +pub mod pallet_democracy; diff --git a/polkadot/runtime/kusama/src/weights/pallet_democracy.rs b/polkadot/runtime/kusama/src/weights/pallet_democracy.rs new file mode 100644 index 0000000000..676281309c --- /dev/null +++ b/polkadot/runtime/kusama/src/weights/pallet_democracy.rs @@ -0,0 +1,156 @@ +// Copyright 2019-2020 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Weights for the Democracy Pallet +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0-rc5 + +use frame_support::weights::{Weight, constants::RocksDbWeight as DbWeight}; + +pub struct WeightInfo; +impl pallet_democracy::WeightInfo for WeightInfo { + fn propose() -> Weight { + (49113000 as Weight) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn second(s: u32, ) -> Weight { + (42067000 as Weight) + .saturating_add((220000 as Weight).saturating_mul(s as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn vote_new(r: u32, ) -> Weight { + (54159000 as Weight) + .saturating_add((252000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn vote_existing(r: u32, ) -> Weight { + (54145000 as Weight) + .saturating_add((262000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn emergency_cancel() -> Weight { + (31071000 as Weight) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn external_propose(v: u32, ) -> Weight { + (14282000 as Weight) + .saturating_add((109000 as Weight).saturating_mul(v as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn external_propose_majority() -> Weight { + (3478000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn external_propose_default() -> Weight { + (3442000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn fast_track() -> Weight { + (30820000 as Weight) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn veto_external(v: u32, ) -> Weight { + (30971000 as Weight) + .saturating_add((184000 as Weight).saturating_mul(v as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn cancel_referendum() -> Weight { + (20431000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn cancel_queued(r: u32, ) -> Weight { + (42438000 as Weight) + .saturating_add((3284000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn on_initialize_base(r: u32, ) -> Weight { + (70826000 as Weight) + .saturating_add((10716000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(6 as Weight)) + .saturating_add(DbWeight::get().reads((2 as Weight).saturating_mul(r as Weight))) + .saturating_add(DbWeight::get().writes(5 as Weight)) + } + fn delegate(r: u32, ) -> Weight { + (72046000 as Weight) + .saturating_add((7837000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) + .saturating_add(DbWeight::get().writes(4 as Weight)) + .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) + } + fn undelegate(r: u32, ) -> Weight { + (41028000 as Weight) + .saturating_add((7810000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) + .saturating_add(DbWeight::get().writes(2 as Weight)) + .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) + } + fn clear_public_proposals() -> Weight { + (3643000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn note_preimage(b: u32, ) -> Weight { + (46629000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn note_imminent_preimage(b: u32, ) -> Weight { + (31147000 as Weight) + .saturating_add((3000 as Weight).saturating_mul(b as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn reap_preimage(b: u32, ) -> Weight { + (42848000 as Weight) + .saturating_add((3000 as Weight).saturating_mul(b as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn unlock_remove(r: u32, ) -> Weight { + (45333000 as Weight) + .saturating_add((171000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn unlock_set(r: u32, ) -> Weight { + (44424000 as Weight) + .saturating_add((291000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn remove_vote(r: u32, ) -> Weight { + (28250000 as Weight) + .saturating_add((283000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn remove_other_vote(r: u32, ) -> Weight { + (28250000 as Weight) + .saturating_add((283000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } +} diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 77b53f2563..effa529458 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -458,7 +458,7 @@ impl pallet_democracy::Trait for Runtime { type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; - type WeightInfo = (); + type WeightInfo = weights::pallet_democracy::WeightInfo; } parameter_types! { diff --git a/polkadot/runtime/polkadot/src/weights/mod.rs b/polkadot/runtime/polkadot/src/weights/mod.rs index b94314e339..fb7c53c603 100644 --- a/polkadot/runtime/polkadot/src/weights/mod.rs +++ b/polkadot/runtime/polkadot/src/weights/mod.rs @@ -17,3 +17,4 @@ /// A collection of weight modules used for pallets in the runtime. pub mod pallet_balances; +pub mod pallet_democracy; diff --git a/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs b/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs new file mode 100644 index 0000000000..676281309c --- /dev/null +++ b/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs @@ -0,0 +1,156 @@ +// Copyright 2019-2020 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Weights for the Democracy Pallet +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0-rc5 + +use frame_support::weights::{Weight, constants::RocksDbWeight as DbWeight}; + +pub struct WeightInfo; +impl pallet_democracy::WeightInfo for WeightInfo { + fn propose() -> Weight { + (49113000 as Weight) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn second(s: u32, ) -> Weight { + (42067000 as Weight) + .saturating_add((220000 as Weight).saturating_mul(s as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn vote_new(r: u32, ) -> Weight { + (54159000 as Weight) + .saturating_add((252000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn vote_existing(r: u32, ) -> Weight { + (54145000 as Weight) + .saturating_add((262000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn emergency_cancel() -> Weight { + (31071000 as Weight) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn external_propose(v: u32, ) -> Weight { + (14282000 as Weight) + .saturating_add((109000 as Weight).saturating_mul(v as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn external_propose_majority() -> Weight { + (3478000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn external_propose_default() -> Weight { + (3442000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn fast_track() -> Weight { + (30820000 as Weight) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn veto_external(v: u32, ) -> Weight { + (30971000 as Weight) + .saturating_add((184000 as Weight).saturating_mul(v as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn cancel_referendum() -> Weight { + (20431000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn cancel_queued(r: u32, ) -> Weight { + (42438000 as Weight) + .saturating_add((3284000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn on_initialize_base(r: u32, ) -> Weight { + (70826000 as Weight) + .saturating_add((10716000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(6 as Weight)) + .saturating_add(DbWeight::get().reads((2 as Weight).saturating_mul(r as Weight))) + .saturating_add(DbWeight::get().writes(5 as Weight)) + } + fn delegate(r: u32, ) -> Weight { + (72046000 as Weight) + .saturating_add((7837000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(4 as Weight)) + .saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) + .saturating_add(DbWeight::get().writes(4 as Weight)) + .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) + } + fn undelegate(r: u32, ) -> Weight { + (41028000 as Weight) + .saturating_add((7810000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) + .saturating_add(DbWeight::get().writes(2 as Weight)) + .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) + } + fn clear_public_proposals() -> Weight { + (3643000 as Weight) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn note_preimage(b: u32, ) -> Weight { + (46629000 as Weight) + .saturating_add((4000 as Weight).saturating_mul(b as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn note_imminent_preimage(b: u32, ) -> Weight { + (31147000 as Weight) + .saturating_add((3000 as Weight).saturating_mul(b as Weight)) + .saturating_add(DbWeight::get().reads(1 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn reap_preimage(b: u32, ) -> Weight { + (42848000 as Weight) + .saturating_add((3000 as Weight).saturating_mul(b as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(1 as Weight)) + } + fn unlock_remove(r: u32, ) -> Weight { + (45333000 as Weight) + .saturating_add((171000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn unlock_set(r: u32, ) -> Weight { + (44424000 as Weight) + .saturating_add((291000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(3 as Weight)) + .saturating_add(DbWeight::get().writes(3 as Weight)) + } + fn remove_vote(r: u32, ) -> Weight { + (28250000 as Weight) + .saturating_add((283000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } + fn remove_other_vote(r: u32, ) -> Weight { + (28250000 as Weight) + .saturating_add((283000 as Weight).saturating_mul(r as Weight)) + .saturating_add(DbWeight::get().reads(2 as Weight)) + .saturating_add(DbWeight::get().writes(2 as Weight)) + } +} diff --git a/polkadot/runtime/polkadot/tests/weights.rs b/polkadot/runtime/polkadot/tests/weights.rs index 51b9258341..5cbdaf82ab 100644 --- a/polkadot/runtime/polkadot/tests/weights.rs +++ b/polkadot/runtime/polkadot/tests/weights.rs @@ -32,7 +32,6 @@ use polkadot_runtime::{self, Runtime}; use primitives::v0::AccountId; use runtime_common::MaximumBlockWeight; -use pallet_democracy::Call as DemocracyCall; use pallet_elections_phragmen::Call as PhragmenCall; use pallet_session::Call as SessionCall; use pallet_staking::Call as StakingCall; @@ -159,40 +158,6 @@ fn weight_of_session_purge_keys_is_correct() { assert_eq!(weight, expected_weight); } -#[test] -fn weight_of_democracy_propose_is_correct() { - // #[weight = 50_000_000 + T::DbWeight::get().reads_writes(2, 3)] - let expected_weight = 50_000_000 + (DbWeight::get().read * 2) + (DbWeight::get().write * 3); - let weight = DemocracyCall::propose::(Default::default(), Default::default()).get_dispatch_info().weight; - - assert_eq!(weight, expected_weight); -} - -#[test] -fn weight_of_democracy_vote_is_correct() { - use pallet_democracy::AccountVote; - let vote = AccountVote::Standard { vote: Default::default(), balance: Default::default() }; - - // #[weight = 50_000_000 + 350_000 * Weight::from(T::MaxVotes::get()) + T::DbWeight::get().reads_writes(3, 3)] - let expected_weight = 50_000_000 - + 350_000 * (Weight::from(polkadot_runtime::MaxVotes::get())) - + (DbWeight::get().read * 3) - + (DbWeight::get().write * 3); - let weight = DemocracyCall::vote::(Default::default(), vote).get_dispatch_info().weight; - - assert_eq!(weight, expected_weight); -} - -#[test] -fn weight_of_democracy_enact_proposal_is_correct() { - // #[weight = T::MaximumBlockWeight::get()] - let expected_weight = MaximumBlockWeight::get(); - let weight = - DemocracyCall::enact_proposal::(Default::default(), Default::default()).get_dispatch_info().weight; - - assert_eq!(weight, expected_weight); -} - #[test] fn weight_of_phragmen_vote_is_correct() { // #[weight = 100_000_000]