Migrate pallet-offences to pallet attribute macro (#8763)

* update to pallet macro

* fixes

* fix tests

* remove unwanted generic

* fix conflict

* Fix storage and tabs

Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
stanly-johnson
2021-05-12 22:08:46 +05:30
committed by GitHub
parent 8e2b7b7c25
commit d48243344c
3 changed files with 83 additions and 55 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ use sp_runtime::testing::Header;
use sp_runtime::traits::{IdentityLookup, BlakeTwo256};
use sp_core::H256;
use frame_support::{
parameter_types, StorageMap, StorageDoubleMap,
parameter_types,
weights::{Weight, constants::{WEIGHT_PER_SECOND, RocksDbWeight}},
};
use crate as offences;