merkle tree serialization and building

- added serialization to @zk-kit/imt
- building the tree in registry and copying it to /common and /app/deployments
- factor getLeaf
- all tests passing and in-app proof gen working
This commit is contained in:
0xturboblitz
2024-02-25 00:11:31 -07:00
parent d8b5092f50
commit f0956e0f53
20 changed files with 24512 additions and 19828 deletions

View File

@@ -10,9 +10,9 @@
"@types/chai-as-promised": "^7.1.6",
"@types/node": "^20.6.3",
"@types/node-forge": "^1.3.5",
"@zk-kit/imt": "^2.0.0-beta",
"@zk-email/circuits": "^3.2.2",
"@zk-email/helpers": "^3.1.3",
"@zk-kit/imt": "https://gitpkg.now.sh/0xturboblitz/zk-kit/packages/imt?6d417675",
"chai-as-promised": "^7.1.1",
"circom_tester": "^0.0.20",
"circomlib": "^2.0.5",