Skip to content

Commit 1e6a457

Browse files
committed
Fix go binding test
1 parent 141356b commit 1e6a457

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1�A��F�̰.��~)�s-K��.��s�/�nV�6�z[2�5��)l�˄nP���-:]��r4�b'
1+
�����F6:|��+���!�y��(�޻[�!nV�6�z[2�5��)l�˄nP���-:]��r4�b'I������uǬ9#.h��x3b@��lv�矖@�

operator/mina_account/mina_account_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestMinaStateProofVerifies(t *testing.T) {
1515
t.Errorf("could not open mina account proof file")
1616
}
1717

18-
proofBuffer := make([]byte, mina.MAX_PROOF_SIZE)
18+
proofBuffer := make([]byte, mina_account.MAX_PROOF_SIZE)
1919
proofLen, err := proofFile.Read(proofBuffer)
2020
if err != nil {
2121
t.Errorf("could not read bytes from mina account proof file")
@@ -25,13 +25,13 @@ func TestMinaStateProofVerifies(t *testing.T) {
2525
if err != nil {
2626
t.Errorf("could not open mina account pub inputs file")
2727
}
28-
pubInputBuffer := make([]byte, mina.MAX_PUB_INPUT_SIZE)
28+
pubInputBuffer := make([]byte, mina_account.MAX_PUB_INPUT_SIZE)
2929
pubInputLen, err := pubInputFile.Read(pubInputBuffer)
3030
if err != nil {
3131
t.Errorf("could not read bytes from mina account pub inputs hash")
3232
}
3333

34-
if !mina_account.VerifyAccountInclusion(([mina.MAX_PROOF_SIZE]byte)(proofBuffer), uint(proofLen), ([mina.MAX_PUB_INPUT_SIZE]byte)(pubInputBuffer), uint(pubInputLen)) {
34+
if !mina_account.VerifyAccountInclusion(([mina_account.MAX_PROOF_SIZE]byte)(proofBuffer), uint(proofLen), ([mina_account.MAX_PUB_INPUT_SIZE]byte)(pubInputBuffer), uint(pubInputLen)) {
3535
t.Errorf("proof did not verify")
3636
}
3737
}

0 commit comments

Comments
 (0)