mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-27 21:09:57 +00:00
Don't use fixed nominator count for report_equivocation weight calculation (#14471)
* babe: fix report_equivocation weight calculation * grandpa: fix report_equivocation weight calculation * beefy: fix report_equivocation weight calculation * runtime: add missing MaxNominators constant
This commit is contained in:
1 parent
a3a04c7e4d
commit
50a63c30d9
16 files changed
+59
-36
No files matched your search
@@ -223,6 +223,7 @@ impl Config for Test {
|
||||
type DisabledValidators = Session;
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = ConstU32<10>;
|
||||
type MaxNominators = ConstU32<100>;
|
||||
type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::Proof;
|
||||
type EquivocationReportSystem =
|
||||
super::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
|
||||
|
||||
Reference in new issue
Block a user