@ -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
@ -25,9 +25,23 @@ export function Configurations ({primeValue, setPrimeValue}: ConfigurationsProps
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(this._compilationConfig.version==='2.1.5'))thrownewError('Invalid prime value')
if((prime!=="bn128")&&(prime!=="bls12381")&&(prime!=="goldilocks")&&(prime!=="grumpkin")&&(prime!=="pallas")&&(prime!=="vesta")&&(this._compilationConfig.version==='2.1.6'))thrownewError('Invalid prime value')
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 5)')
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 6)')
},
},
'Should hide/show warnings for compiled circuit #group4':function(browser: NightwatchBrowser){
'Should hide/show warnings for compiled circuit #group4':function(browser: NightwatchBrowser){
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 5)')
.waitForElementContainsText('[data-id="circuit_feedback"]','File circuits/simple.circom does not include pragma version. Assuming pragma version (2, 1, 6)')
},
},
'Should display error for invalid circuit #group4':function(browser: NightwatchBrowser){
'Should display error for invalid circuit #group4':function(browser: NightwatchBrowser){