pub fn parse_chain_id(s: &[u8]) -> Result<ChainId, QiError>
Parses a chain id; QiError on malformed input.
QiError