Skip to content

Commit

Permalink
duplicated import
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmenendez committed Jan 2, 2025
1 parent 117a671 commit 9850e62
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions circuits/voteverifier/vote_verifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"github.com/consensys/gnark/std/algebra/emulated/sw_bn254"
"github.com/consensys/gnark/std/math/emulated"
"github.com/consensys/gnark/std/signature/ecdsa"
"github.com/consensys/gnark/test"
gtest "github.com/consensys/gnark/test"
qt "github.com/frankban/quicktest"
"github.com/iden3/go-iden3-crypto/mimc7"
Expand Down Expand Up @@ -136,8 +135,8 @@ func TestCheckInnerInputHash(t *testing.T) {

assert := gtest.NewAssert(t)
assert.SolvingSucceeded(&checkInnerInputsCircuit{}, &assigments,
test.WithCurves(gecc.BLS12_377),
test.WithBackends(backend.GROTH16))
gtest.WithCurves(gecc.BLS12_377),
gtest.WithBackends(backend.GROTH16))
}

type checkInputsCircuit struct {
Expand Down Expand Up @@ -186,8 +185,8 @@ func TestCheckInputsHash(t *testing.T) {

assert := gtest.NewAssert(t)
assert.SolvingSucceeded(&checkInputsCircuit{}, &assigments,
test.WithCurves(gecc.BLS12_377),
test.WithBackends(backend.GROTH16))
gtest.WithCurves(gecc.BLS12_377),
gtest.WithBackends(backend.GROTH16))
}

type verifySigForAddressCircuit struct {
Expand Down Expand Up @@ -237,6 +236,6 @@ func TestVerifySigForAddress(t *testing.T) {
}
assert := gtest.NewAssert(t)
assert.SolvingSucceeded(&verifySigForAddressCircuit{}, &assigments,
test.WithCurves(gecc.BLS12_377),
test.WithBackends(backend.GROTH16))
gtest.WithCurves(gecc.BLS12_377),
gtest.WithBackends(backend.GROTH16))
}

0 comments on commit 9850e62

Please sign in to comment.