@ -14,7 +14,7 @@ export function Configurations ({primeValue, setPrimeValue}: ConfigurationsProps
placement={"auto"}
tooltipId="circuitPrimeLabelTooltip"
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>
<select
@ -28,6 +28,9 @@ export function Configurations ({primeValue, setPrimeValue}: ConfigurationsProps
@ -122,12 +125,13 @@ export class CircomPluginClient extends PluginClient {
if(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){
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')