pub fn compute_validator_scaled_total_rewards<V>(
    validator_totals: Vec<(V, u128)>
) -> Vec<(V, u32)>