mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Generated
+198
-208
File diff suppressed because it is too large
Load Diff
@@ -161,7 +161,7 @@ macro_rules! impl_runtime_weights {
|
||||
/// The type used for currency conversion.
|
||||
///
|
||||
/// This must only be used as long as the balance type is `u128`.
|
||||
pub type CurrencyToVote = frame_support::traits::U128CurrencyToVote;
|
||||
pub type CurrencyToVote = sp_staking::currency_to_vote::U128CurrencyToVote;
|
||||
static_assertions::assert_eq_size!(primitives::Balance, u128);
|
||||
|
||||
/// A placeholder since there is currently no provided session key handler for parachain validator
|
||||
|
||||
@@ -589,7 +589,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type HistoryDepth = frame_support::traits::ConstU32<84>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type OnStakerSlash = NominationPools;
|
||||
type EventListeners = NominationPools;
|
||||
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ impl pallet_elections_phragmen::Config for Runtime {
|
||||
type Currency = Balances;
|
||||
type ChangeMembers = Council;
|
||||
type InitializeMembers = Council;
|
||||
type CurrencyToVote = frame_support::traits::U128CurrencyToVote;
|
||||
type CurrencyToVote = runtime_common::CurrencyToVote;
|
||||
type CandidacyBond = CandidacyBond;
|
||||
type VotingBondBase = VotingBondBase;
|
||||
type VotingBondFactor = VotingBondFactor;
|
||||
|
||||
@@ -597,7 +597,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type HistoryDepth = frame_support::traits::ConstU32<84>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type OnStakerSlash = NominationPools;
|
||||
type EventListeners = NominationPools;
|
||||
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
|
||||
@@ -481,7 +481,7 @@ impl pallet_elections_phragmen::Config for Runtime {
|
||||
type Currency = Balances;
|
||||
type ChangeMembers = Council;
|
||||
type InitializeMembers = Council;
|
||||
type CurrencyToVote = frame_support::traits::U128CurrencyToVote;
|
||||
type CurrencyToVote = runtime_common::CurrencyToVote;
|
||||
type CandidacyBond = CandidacyBond;
|
||||
type VotingBondBase = VotingBondBase;
|
||||
type VotingBondFactor = VotingBondFactor;
|
||||
|
||||
@@ -335,7 +335,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type Currency = Balances;
|
||||
type CurrencyBalance = Balance;
|
||||
type UnixTime = Timestamp;
|
||||
type CurrencyToVote = frame_support::traits::U128CurrencyToVote;
|
||||
type CurrencyToVote = runtime_common::CurrencyToVote;
|
||||
type RewardRemainder = ();
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Slash = ();
|
||||
@@ -358,7 +358,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type HistoryDepth = frame_support::traits::ConstU32<84>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type OnStakerSlash = ();
|
||||
type EventListeners = ();
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
|
||||
@@ -533,7 +533,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type HistoryDepth = frame_support::traits::ConstU32<84>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type OnStakerSlash = NominationPools;
|
||||
type EventListeners = NominationPools;
|
||||
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user