Migrate slots pallet to pallet attribute macro. (#3218)

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Shaun W
2021-07-22 21:19:58 +12:00
committed by GitHub
parent 5e320614c4
commit 4bb487985a
2 changed files with 269 additions and 185 deletions
@@ -28,7 +28,6 @@ use sp_keystore::{KeystoreExt, testing::KeyStore};
use primitives::v1::{BlockNumber, Header, Id as ParaId, ValidationCode, HeadData, LOWEST_PUBLIC_ID};
use frame_support::{
parameter_types, assert_ok, assert_noop, PalletId,
storage::StorageMap,
traits::{Currency, OnInitialize, OnFinalize, KeyOwnerProofSystem},
};
use frame_system::EnsureRoot;