From 3ab6d8c9ba4ffed3b8e016de8b518b41a30e3bf0 Mon Sep 17 00:00:00 2001 From: titix Date: Thu, 9 May 2024 17:30:01 -0300 Subject: [PATCH] fix: proof bytes --- src/tests/proofData.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/proofData.test.ts b/src/tests/proofData.test.ts index f3527a0..b5a9e1b 100644 --- a/src/tests/proofData.test.ts +++ b/src/tests/proofData.test.ts @@ -6,7 +6,7 @@ describe('Proof Data Formatting', () => { const input: ISuccessResult = { merkle_root: '0x' + '1'.repeat(63), // 31 bytes hex string, missing one character to make it 32 bytes nullifier_hash: '0x' + '2'.repeat(64), // 32 bytes - proof: '0x' + '3'.repeat(256), // 128 bytes + proof: '0x' + '3'.repeat(64).repeat(8), //uint256[8] }; // Testing the merkle_root formatting to 32 bytes