Helper macro for Morph impls (#11570)

* Helper macro for Morph impls

* No need to deprecate for now

* Improved macro

* Doc tests

* Grumbles
This commit is contained in:
Gavin Wood authored and GitHub committed 2022-06-01 17:27:47 +01:00
1 parent bb6bbab687
commit 838dbcbe91
5 files changed
+376 -95

No files matched your search

@@ -23,12 +23,12 @@ use frame_support::{
assert_noop, assert_ok,
error::BadOrigin,
parameter_types,
traits::{ConstU16, ConstU32, ConstU64, EitherOf, Everything, MapSuccess, Polling, ReduceBy},
traits::{ConstU16, ConstU32, ConstU64, EitherOf, Everything, MapSuccess, Polling},
};
use sp_core::H256;
use sp_runtime::{
testing::Header,
traits::{BlakeTwo256, Identity, IdentityLookup},
traits::{BlakeTwo256, Identity, IdentityLookup, ReduceBy},
};
use super::*;