Skip to content

Commit

Permalink
remove the LE address return from address derivation primitive and fi…
Browse files Browse the repository at this point in the history
…x test struct typo (cont)
  • Loading branch information
lucasmenendez committed Jan 15, 2025
1 parent 8d51fa2 commit ad41d1b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions emulated/ecdsa/address_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ func (c *testAddressCircuit) Define(api frontend.API) error {
return nil
}

func goSwapEndianness(b []byte) []byte {
var swap []byte
for i := len(b) - 1; i >= 0; i-- {
swap = append(swap, b[i])
}
return swap
}

func TestAddressDerivation(t *testing.T) {
c := qt.New(t)
// compile the circuit and get the constraints
Expand Down
2 changes: 1 addition & 1 deletion tree/arbo/verifier_bls12377_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func TestVerifierBLS12377(t *testing.T) {
TotalSiblings: n_siblings,
KeyLen: k_len,
Hash: arbotree.HashFunctionMiMC_BLS12_377,
BaseFiled: arbotree.BLS12377BaseField,
BaseField: arbotree.BLS12377BaseField,
}, [][]byte{util.RandomBytes(k_len)}, [][]byte{big.NewInt(10).Bytes()})
c.Assert(err, qt.IsNil)
// init and print inputs
Expand Down
2 changes: 1 addition & 1 deletion tree/arbo/verifier_bn254_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestVerifierBN254(t *testing.T) {
TotalSiblings: n_siblings,
KeyLen: k_len,
Hash: arbotree.HashFunctionPoseidon,
BaseFiled: arbotree.BN254BaseField,
BaseField: arbotree.BN254BaseField,
}, [][]byte{util.RandomBytes(k_len)}, [][]byte{big.NewInt(10).Bytes()})
c.Assert(err, qt.IsNil)
// init and print inputs
Expand Down

0 comments on commit ad41d1b

Please sign in to comment.