runtime: remove randomness collective flip pallet (#3347)

* runtime: remove randomness collective flip pallet

* add storage migration to remove key

Co-Authored-By: parity-processbot <>

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
André Silva
2021-06-23 00:36:04 +01:00
committed by GitHub
parent 777499dc69
commit 6b408d1e38
12 changed files with 21 additions and 124 deletions
-3
View File
@@ -161,8 +161,6 @@ impl<C> frame_system::offchain::SendTransactionTypes<C> for Runtime where
type Extrinsic = UncheckedExtrinsic;
}
impl pallet_randomness_collective_flip::Config for Runtime {}
parameter_types! {
pub storage EpochDuration: u64 = EPOCH_DURATION_IN_SLOTS as u64;
pub storage ExpectedBlockTime: Moment = MILLISECS_PER_BLOCK;
@@ -504,7 +502,6 @@ construct_runtime! {
{
// Basic stuff; balances is uncallable initially.
System: frame_system::{Pallet, Call, Storage, Config, Event<T>},
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage},
// Must be before session.
Babe: pallet_babe::{Pallet, Call, Storage, Config},