pub fn calculate_max_bundle_weight( max_domain_block_weight: Weight, consensus_slot_probability: (u64, u64), bundle_slot_probability: (u64, u64), ) -> Option<(u64, Weight)>
Calculates the max bundle weight