info_base_weight

Function info_base_weight 

Source
pub fn info_base_weight(req: &InfoRequest) -> u32
Expand description

Classify Info requests into weight classes based on request_type. Since InfoRequest uses struct with request_type string, we match on that.