pub fn parse_chain_set(s: &str) -> Result<HashSet<ChainId>, CryptoError>
Parses a comma-separated list of chain IDs into a set.