mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 21:21:11 +00:00
Move sp-npos-elections-solution-type to frame-election-provider-support (#11016)
* Move `sp-npos-elections-solution-type` to `frame-election-provider-support` First stab at it, will need to amend some more stuff * Fixing tests * Fixing tests * Fixing cargo.toml for std configuration * fmt * Committing suggested changes renaming, and re exporting macro. * Removing unneeded imports
This commit is contained in:
@@ -302,7 +302,7 @@ mod pallet;
|
||||
use codec::{Decode, Encode, HasCompact};
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
traits::{ConstU32, Currency, Get},
|
||||
traits::{Currency, Get},
|
||||
weights::Weight,
|
||||
BoundedVec, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound,
|
||||
};
|
||||
@@ -861,6 +861,6 @@ pub struct TestBenchmarkingConfig;
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl BenchmarkingConfig for TestBenchmarkingConfig {
|
||||
type MaxValidators = ConstU32<100>;
|
||||
type MaxNominators = ConstU32<100>;
|
||||
type MaxValidators = frame_support::traits::ConstU32<100>;
|
||||
type MaxNominators = frame_support::traits::ConstU32<100>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user