Companion for #9061 (#3200)

* migrate pallet-randomness-collective-flip to new pallet attr macro

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* fix some nits

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* fix

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* some nits

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Qinxuan Chen
2021-06-14 19:29:39 +08:00
committed by GitHub
parent 93e42fb213
commit e05bd988ed
8 changed files with 169 additions and 155 deletions
+2
View File
@@ -192,6 +192,8 @@ impl frame_system::Config for Runtime {
type OnSetCode = ();
}
impl pallet_randomness_collective_flip::Config for Runtime {}
parameter_types! {
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) *
BlockWeights::get().max_block;