Skip to content

Commit 51ebe9d

Browse files
authored
feat: support more tree depths (#779)
* feat: support more tree depth Now Semaphore v4 will support tree depth from 2 to 32. re #778 * test(proof): update tests to support circuit changes and tree depth 2 - 32 re #778 * fix(contracts): update verifier VK_POINTS re #778 * test(proof): make tests more atomic * chore: support tree depth 1 re #778
1 parent c88175b commit 51ebe9d

File tree

5 files changed

+1433
-349
lines changed

5 files changed

+1433
-349
lines changed

packages/contracts/contracts/base/Constants.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ pragma solidity 0.8.23;
55
uint8 constant MIN_DEPTH = 1;
66

77
/// @dev Maximum supported tree depth.
8-
uint8 constant MAX_DEPTH = 12;
8+
uint8 constant MAX_DEPTH = 32;

0 commit comments

Comments
 (0)