mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 15:07:59 +00:00
babe: make plan_config_change callable (#8233)
This commit is contained in:
@@ -23,6 +23,10 @@ use frame_support::weights::{
|
||||
};
|
||||
|
||||
impl crate::WeightInfo for () {
|
||||
fn plan_config_change() -> Weight {
|
||||
DbWeight::get().writes(1)
|
||||
}
|
||||
|
||||
fn report_equivocation(validator_count: u32) -> Weight {
|
||||
// we take the validator set count from the membership proof to
|
||||
// calculate the weight but we set a floor of 100 validators.
|
||||
|
||||
Reference in New Issue
Block a user