Skip to content

Commit

Permalink
Merge pull request #12 from Axis-Fi/merkle-improvements
Browse files Browse the repository at this point in the history
Merkle Tool Improvements
  • Loading branch information
0xJem authored Aug 21, 2024
2 parents ff6bbc5 + 2b047fd commit fce88f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/oz-merkle-tree/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Proof = {
root: string;
entries: {
value: string[];
proof: string;
proofs: string[];
}[];
};

Expand All @@ -25,7 +25,7 @@ const generateMerkleTree = (name: string, values: any[][], types: string[]) => {

proofs.entries.push({
value: v as string[],
proof: proof[0],
proofs: proof,
});
}

Expand Down
2 changes: 2 additions & 0 deletions packages/oz-merkle-tree/test.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
address,amount
0x0000000000000000000000000000000000000004,5000000000000000000
0x0000000000000000000000000000000000000020,0
0x0000000000000000000000000000000000000021,50
0x0000000000000000000000000000000000000022,60

0 comments on commit fce88f3

Please sign in to comment.