Add session weight (#477)

* session weight

* decouple session benchmarking and collator selection

* removed mock

* licensing

* benchmarking script

* set benchmarking into runtime

* Update scripts/benchmarks.sh

* real weights

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
JesseAbram
2021-06-08 13:24:19 +02:00
committed by GitHub
parent e8b4b36446
commit 37e474a947
18 changed files with 312 additions and 7 deletions
+23 -3
View File
@@ -3874,7 +3874,7 @@ dependencies = [
"pallet-recovery",
"pallet-scheduler",
"pallet-session",
"pallet-session-benchmarking",
"pallet-session-benchmarking 3.0.0 (git+https://github.com/paritytech/substrate?branch=master)",
"pallet-society",
"pallet-staking",
"pallet-staking-reward-fn",
@@ -5675,6 +5675,23 @@ dependencies = [
"sp-trie",
]
[[package]]
name = "pallet-session-benchmarking"
version = "3.0.0"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"pallet-session",
"parity-scale-codec",
"serde",
"sp-core",
"sp-io",
"sp-runtime",
"sp-staking",
"sp-std",
]
[[package]]
name = "pallet-session-benchmarking"
version = "3.0.0"
@@ -7134,7 +7151,7 @@ dependencies = [
"pallet-randomness-collective-flip",
"pallet-scheduler",
"pallet-session",
"pallet-session-benchmarking",
"pallet-session-benchmarking 3.0.0 (git+https://github.com/paritytech/substrate?branch=master)",
"pallet-staking",
"pallet-staking-reward-curve",
"pallet-timestamp",
@@ -10637,6 +10654,7 @@ dependencies = [
"pallet-proxy",
"pallet-randomness-collective-flip",
"pallet-session",
"pallet-session-benchmarking 3.0.0",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
@@ -10724,6 +10742,7 @@ dependencies = [
"pallet-proxy",
"pallet-randomness-collective-flip",
"pallet-session",
"pallet-session-benchmarking 3.0.0",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
@@ -12449,7 +12468,7 @@ dependencies = [
"pallet-recovery",
"pallet-scheduler",
"pallet-session",
"pallet-session-benchmarking",
"pallet-session-benchmarking 3.0.0 (git+https://github.com/paritytech/substrate?branch=master)",
"pallet-society",
"pallet-staking",
"pallet-staking-reward-curve",
@@ -12524,6 +12543,7 @@ dependencies = [
"pallet-proxy",
"pallet-randomness-collective-flip",
"pallet-session",
"pallet-session-benchmarking 3.0.0",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",