Skip to content

Commit

Permalink
quick test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvolear committed Apr 13, 2024
1 parent 24411c2 commit e554591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/libs/data-structures/SparseMerkleTree.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ describe("SparseMerkleTree", () => {
const key = ethers.toBeHex(keys[Number(i) - 1], 32);
const value = ethers.toBeHex(ethers.hexlify(ethers.randomBytes(20)));

await merkleTree.updateAddress(key, ethers.toBeHex(value));
await merkleTree.updateAddress(key, ethers.toBeHex(value, 20));
await localMerkleTree.update(BigInt(key), BigInt(value));

expect(await merkleTree.getAddressRoot()).to.equal(await getRoot(localMerkleTree));
Expand Down

0 comments on commit e554591

Please sign in to comment.