Skip to content

Commit

Permalink
Add curve options to all manifest schema types
Browse files Browse the repository at this point in the history
All of the manifest types now support a curve option, this syncs the manifest
with what the API supports.

Merges #88
  • Loading branch information
sangaline authored Mar 13, 2024
1 parent 80f5adb commit 7edec7f
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions sindri-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@
],
"additionalProperties": false
},
"Halo2CurveOptions": {
"title": "Halo2CurveOptions",
"description": "The supported Halo2 curves.",
"enum": ["bn254"],
"type": "string"
},
"Halo2ProvingSchemeOptions": {
"title": "Halo2ProvingSchemeOptions",
"description": "The supported Halo2 proving schemes.",
Expand All @@ -239,6 +245,16 @@
},
"type": "string"
},
"curve": {
"title": "Proving Curve",
"description": "The curve over which the proof is executed.",
"default": "bn254",
"allOf": [
{
"$ref": "#/definitions/Halo2CurveOptions"
}
]
},
"className": {
"title": "Circuit Class Name",
"description": "The path to your circuit struct definition. (*e.g.* `my-package::my_file::MyCircuitStruct`).",
Expand Down Expand Up @@ -314,6 +330,16 @@
},
"type": "string"
},
"curve": {
"title": "Proving Curve",
"description": "The curve over which the proof is executed.",
"default": "bn254",
"allOf": [
{
"$ref": "#/definitions/Halo2CurveOptions"
}
]
},
"className": {
"title": "Circuit Class Name",
"description": "The path to your circuit struct definition. (*e.g.* `my-package::my_file::MyCircuitStruct`).",
Expand Down Expand Up @@ -376,6 +402,12 @@
],
"additionalProperties": false
},
"NoirCurveOptions": {
"title": "NoirCurveOptions",
"description": "The supported Noir curves.",
"enum": ["bn254"],
"type": "string"
},
"NoirProvingSchemeOptions": {
"title": "NoirProvingSchemeOptions",
"description": "The supported Noir proving schemes.",
Expand Down Expand Up @@ -408,6 +440,16 @@
},
"type": "string"
},
"curve": {
"title": "Proving Curve",
"description": "The curve over which the proof is executed.",
"default": "bn254",
"allOf": [
{
"$ref": "#/definitions/NoirCurveOptions"
}
]
},
"provingScheme": {
"description": "The backend proving scheme.",
"default": "barretenberg",
Expand Down

0 comments on commit 7edec7f

Please sign in to comment.