@ -14,7 +14,7 @@ export function Configurations ({primeValue, setPrimeValue}: ConfigurationsProps
placement={"auto"}
placement={"auto"}
tooltipId="circuitPrimeLabelTooltip"
tooltipId="circuitPrimeLabelTooltip"
tooltipClasses="text-nowrap"
tooltipClasses="text-nowrap"
tooltipText={<span>{'To choose the prime number to use to generate the circuit. Receives the name of the curve (bn128, bls12381, goldilocks) [default: bn128]'}</span>}
tooltipText={<span>{'To choose the prime number to use to generate the circuit. Receives the name of the curve (bn128, bls12381, goldilocks, grumpkin, pallas, vesta)'}</span>}
>
>
<div>
<div>
<select
<select
@ -28,6 +28,9 @@ export function Configurations ({primeValue, setPrimeValue}: ConfigurationsProps
@ -122,12 +125,13 @@ export class CircomPluginClient extends PluginClient {
if(compilationConfig){
if(compilationConfig){
const{prime,version}=compilationConfig
const{prime,version}=compilationConfig
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks"))thrownewError('Invalid prime value')
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(prime!=="grumpkin")&&(prime!=="pallas")&&(prime!=="vesta"))thrownewError('Invalid prime value')
@ -172,12 +176,13 @@ export class CircomPluginClient extends PluginClient {
if(compilationConfig){
if(compilationConfig){
const{prime,version}=compilationConfig
const{prime,version}=compilationConfig
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks"))thrownewError('Invalid prime value')
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(prime!=="grumpkin")&&(prime!=="pallas")&&(prime!=="vesta"))thrownewError('Invalid prime value')