fn chain_crypto_pub_err(e: PublicKeyError) -> ReadError