primitives: use generic Header in testing runtime (#6561)

* primitives: use generic Header in testing runtime

* frame: remove unused imports

* Remove warning

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
André SilvaandBastian Köcher authored and GitHub committed 2020-07-03 17:07:46 +00:00
1 parent 2ddbbd7c08
commit fb2fa25331
6 files changed
+18 -70

No files matched your search

+3 -2
View File
@@ -209,8 +209,9 @@ mod tests {
use sp_io::TestExternalities;
use sp_core::H256;
use sp_runtime::{
testing::Header, Perbill,
traits::{BlakeTwo256, IdentityLookup, Header as HeaderT},
testing::Header,
traits::{BlakeTwo256, IdentityLookup},
Perbill,
};
use frame_support::{
assert_ok, impl_outer_origin, parameter_types,