Skip to content

Commit

Permalink
fix: proof bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtiti committed May 9, 2024
1 parent 6c8aebf commit 3ab6d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/proofData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ab6d8c

Please sign in to comment.