mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
pallet-conviction-voting: make the pallet instantiable (#11088)
* pallet-conviction-voting: make the pallet instanceable Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Add default type param for some type alias Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
use super::*;
|
||||
use crate as pallet_conviction_voting;
|
||||
use frame_support::{
|
||||
assert_noop, assert_ok, parameter_types,
|
||||
traits::{ConstU32, ConstU64, Contains, Polling},
|
||||
@@ -31,6 +29,9 @@ use sp_runtime::{
|
||||
traits::{BlakeTwo256, IdentityLookup},
|
||||
};
|
||||
|
||||
use super::*;
|
||||
use crate as pallet_conviction_voting;
|
||||
|
||||
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
|
||||
type Block = frame_system::mocking::MockBlock<Test>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user