diff --git a/.gas-report b/.gas-report index 80df36b..e69de29 100644 --- a/.gas-report +++ b/.gas-report @@ -1,18 +0,0 @@ -| script/Deploy.s.sol:Deploy contract | | | | | | -|-------------------------------------|-----------------|--------|--------|--------|---------| -| Deployment Cost | Deployment Size | | | | | -| 320782 | 2729 | | | | | -| Function Name | min | avg | median | max | # calls | -| run | 221942 | 221942 | 221942 | 221942 | 1 | - - -| src/Foo.sol:Foo contract | | | | | | -|--------------------------|-----------------|-----|--------|-----|---------| -| Deployment Cost | Deployment Size | | | | | -| 20275 | 131 | | | | | -| Function Name | min | avg | median | max | # calls | -| id | 235 | 235 | 235 | 235 | 1 | - - - - diff --git a/package.json b/package.json index eb496a3..aaa5b04 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,10 @@ "solhint-community": "^3.6.0", "commit-and-tag-version": "^12.2.0" }, + "dependencies": { + "@zk-kit/imt.sol": "https://gitpkg.now.sh/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500", + "poseidon-solidity": "^0.0.5" + }, "keywords": [ "blockchain", "ethereum", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ab9e75..3cc3fc5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,14 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +dependencies: + '@zk-kit/imt.sol': + specifier: https://gitpkg.now.sh/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500 + version: '@gitpkg.now.sh/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500' + poseidon-solidity: + specifier: ^0.0.5 + version: 0.0.5 + devDependencies: commit-and-tag-version: specifier: ^12.2.0 @@ -1331,6 +1339,10 @@ packages: engines: {node: '>=4'} dev: true + /poseidon-solidity@0.0.5: + resolution: {integrity: sha512-NzrvSwHzvZgT4hvg2GyGqeR+UOU/eLSEt4wAoXEua+VaR7NTKKwx1X9bPlh1VMBEVEno+IWvkRBbidFGzTeAqQ==} + dev: false + /prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -1892,3 +1904,11 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} dev: true + + '@gitpkg.now.sh/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500': + resolution: {tarball: https://gitpkg.now.sh/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500} + name: imt.sol + version: 0.0.0 + dependencies: + poseidon-solidity: 0.0.5 + dev: false diff --git a/remappings.txt b/remappings.txt index feaba2d..e210eef 100644 --- a/remappings.txt +++ b/remappings.txt @@ -1 +1,3 @@ forge-std/=lib/forge-std/src/ +@zk-kit/imt.sol/=node_modules/@zk-kit/imt.sol/contracts +poseidon-solidity/=node_modules/poseidon-solidity/