From f8286522cdf484af4355aa5f1ce4422c6ff743b7 Mon Sep 17 00:00:00 2001 From: Evan Sangaline Date: Wed, 13 Mar 2024 18:17:32 -0500 Subject: [PATCH] Add curve options. --- sindri-manifest.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/sindri-manifest.json b/sindri-manifest.json index 6355692..68623b9 100644 --- a/sindri-manifest.json +++ b/sindri-manifest.json @@ -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.", @@ -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`).", @@ -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`).", @@ -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.", @@ -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",