pub fn calculate_fee<T>( command: Command, parameters: Option<PricingParameters<T::Balance>>, ) -> Fee<T::Balance>where T: Config,