Function deserializeGPCProofConfig

  • Deserializes GPCProofConfig from the full-fidelity format produced by serializeGPCProofConfig, and checks the validity of the configuration.

    Parameters

    • serialized: string

      a string representation of GPCProofConfig

    Returns GPCProofConfig

    GPCProofConfig deserialized from the string

    Throws

    SyntaxError if the serialized form cannot be parsed

    Throws

    TypeError if the serialized form doesn't match the expected type

Generated using TypeDoc