mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
fix(incremental-merkle-tree.sol): typo, test the default zero tree
This commit is contained in:
@@ -91,7 +91,7 @@ describe("IncrementalBinaryTreeTest", () => {
|
||||
it("Should insert 4 leaves in a default zeroes tree", async () => {
|
||||
const _treeId = ethers.utils.formatBytes32String("tree2DefaultZeroes")
|
||||
const _depth = 32
|
||||
await contract.createTree(_treeId, _depth)
|
||||
await contract.createTreeDefaultZeroes(_treeId, _depth)
|
||||
const tree = new IncrementalMerkleTree(poseidon, _depth, 0)
|
||||
for (let x = 0; x < 4; x += 1) {
|
||||
const _leaf = BigInt((x + 10) ** 2)
|
||||
|
||||
Reference in New Issue
Block a user