mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07: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:
@@ -419,6 +419,7 @@ impl pallet_babe::Config for Runtime {
|
||||
type EquivocationReportSystem = ();
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = ConstU32<10>;
|
||||
type MaxNominators = ConstU32<100>;
|
||||
}
|
||||
|
||||
/// Adds one to the given input and returns the final result.
|
||||
|
||||
Reference in New Issue
Block a user