Inputs:
pathto the serialized URS fileoffsetof binary URS within file
Outputs
TODO
Spec
Load with bin_prot
Inputs
path: Stringto serialized verifier key fileURS: CamlPastaFpUrsloaded
Outputs
TODO
Spec
- Open the serialized key
path - Read and parse the
header(see the serialized key format) - Compute the offset of the
body - Validate the
headeragainst the metadata provided by O(1) Labs in the verifier key filenameheader.kind.typeheader.kind.identifierheader.constraint_system_hash
- Load the
keylocated atpath, offsetusingbin_prot - Validate the
headeragainst the loaded key contentsconstraint_constantsconstraint_system_hash
- Create the
VerifierIndexstructure containing theURSandkey