pub fn generate_validators(vals: &[Validator]) -> Result<Vec<Info>, SimpleError>
A helper function to generate multiple validators at once.