mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 23:51:01 +00:00
Fix recursive trait bounds (#2644)
Closes: https://github.com/paritytech/polkadot-sdk/issues/2641
This commit is contained in:
@@ -276,8 +276,7 @@ impl pallet_babe::Config for Runtime {
|
|||||||
type WeightInfo = ();
|
type WeightInfo = ();
|
||||||
type MaxAuthorities = MaxAuthorities;
|
type MaxAuthorities = MaxAuthorities;
|
||||||
type MaxNominators = ConstU32<0>;
|
type MaxNominators = ConstU32<0>;
|
||||||
type KeyOwnerProof =
|
type KeyOwnerProof = sp_session::MembershipProof;
|
||||||
<Historical as KeyOwnerProofSystem<(KeyTypeId, pallet_babe::AuthorityId)>>::Proof;
|
|
||||||
type EquivocationReportSystem =
|
type EquivocationReportSystem =
|
||||||
pallet_babe::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
pallet_babe::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
||||||
}
|
}
|
||||||
@@ -565,7 +564,7 @@ impl pallet_grandpa::Config for Runtime {
|
|||||||
type MaxAuthorities = MaxAuthorities;
|
type MaxAuthorities = MaxAuthorities;
|
||||||
type MaxNominators = ConstU32<0>;
|
type MaxNominators = ConstU32<0>;
|
||||||
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
||||||
type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, GrandpaId)>>::Proof;
|
type KeyOwnerProof = sp_session::MembershipProof;
|
||||||
type EquivocationReportSystem =
|
type EquivocationReportSystem =
|
||||||
pallet_grandpa::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
pallet_grandpa::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -264,8 +264,7 @@ impl pallet_babe::Config for Runtime {
|
|||||||
type MaxAuthorities = MaxAuthorities;
|
type MaxAuthorities = MaxAuthorities;
|
||||||
type MaxNominators = MaxNominators;
|
type MaxNominators = MaxNominators;
|
||||||
|
|
||||||
type KeyOwnerProof =
|
type KeyOwnerProof = sp_session::MembershipProof;
|
||||||
<Historical as KeyOwnerProofSystem<(KeyTypeId, pallet_babe::AuthorityId)>>::Proof;
|
|
||||||
|
|
||||||
type EquivocationReportSystem =
|
type EquivocationReportSystem =
|
||||||
pallet_babe::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
pallet_babe::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
||||||
@@ -317,7 +316,7 @@ impl pallet_beefy::Config for Runtime {
|
|||||||
type MaxSetIdSessionEntries = BeefySetIdSessionEntries;
|
type MaxSetIdSessionEntries = BeefySetIdSessionEntries;
|
||||||
type OnNewValidatorSet = BeefyMmrLeaf;
|
type OnNewValidatorSet = BeefyMmrLeaf;
|
||||||
type WeightInfo = ();
|
type WeightInfo = ();
|
||||||
type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, BeefyId)>>::Proof;
|
type KeyOwnerProof = sp_session::MembershipProof;
|
||||||
type EquivocationReportSystem =
|
type EquivocationReportSystem =
|
||||||
pallet_beefy::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
pallet_beefy::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
||||||
}
|
}
|
||||||
@@ -801,7 +800,7 @@ impl pallet_grandpa::Config for Runtime {
|
|||||||
type MaxNominators = MaxNominators;
|
type MaxNominators = MaxNominators;
|
||||||
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
||||||
|
|
||||||
type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, GrandpaId)>>::Proof;
|
type KeyOwnerProof = sp_session::MembershipProof;
|
||||||
|
|
||||||
type EquivocationReportSystem =
|
type EquivocationReportSystem =
|
||||||
pallet_grandpa::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
pallet_grandpa::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
||||||
|
|||||||
Reference in New Issue
Block a user