From de1f723ca6ad898eb853e96e2fd21660efeee507 Mon Sep 17 00:00:00 2001 From: rachid Date: Thu, 2 Nov 2023 19:21:08 +0100 Subject: [PATCH] fix: bump number of leaves --- src/lib/tree/binary/test/BinaryMerkleTree.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tree/binary/test/BinaryMerkleTree.t.sol b/src/lib/tree/binary/test/BinaryMerkleTree.t.sol index de3e357..dea8c80 100644 --- a/src/lib/tree/binary/test/BinaryMerkleTree.t.sol +++ b/src/lib/tree/binary/test/BinaryMerkleTree.t.sol @@ -223,7 +223,7 @@ contract BinaryMerkleProofTest is DSTest { uint256 key = 1; // correct numLeaves: 5 - uint256 numLeaves = 7; + uint256 numLeaves = 200; BinaryMerkleProof memory proof = BinaryMerkleProof(sideNodes, key, numLeaves); bytes memory data = bytes(hex"01"); bool isValid = BinaryMerkleTree.verify(root, proof, data);