@crisp-e3/contracts 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/contracts/Mocks/MockInterfold.sol +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -25,8 +25,7 @@ pnpm test
|
|
|
25
25
|
Local deploy is driven by **`../../crisp.dev.env`** (see
|
|
26
26
|
**[../../docs/PROOF_AGGREGATION_AND_ZK.md](../../docs/PROOF_AGGREGATION_AND_ZK.md)**):
|
|
27
27
|
|
|
28
|
-
- `pnpm dev:setup` — applies profile, builds DKG circuits when
|
|
29
|
-
`CRISP_PROOF_AGGREGATION_ENABLED=true`
|
|
28
|
+
- `pnpm dev:setup` — applies profile, builds DKG circuits when `CRISP_SKIP_PROOF_AGGREGATION=false`
|
|
30
29
|
- `pnpm dev:up` → `scripts/crisp_deploy.sh` — sets `ENABLE_ZK_VERIFICATION` from the same file
|
|
31
30
|
|
|
32
31
|
### CRISP-only deploy (Interfold already deployed)
|
|
@@ -35,7 +35,7 @@ contract MockInterfold {
|
|
|
35
35
|
ciphertextOutput: bytes32(0),
|
|
36
36
|
plaintextOutput: plaintextOutput,
|
|
37
37
|
requester: address(0),
|
|
38
|
-
|
|
38
|
+
ciphertextCommitment: bytes32(0)
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
IE3Program(program).validate(nextE3Id, 0, bytes(""), bytes(""), abi.encode(address(0), nextE3Id, 2, 0, 0));
|
|
@@ -72,7 +72,7 @@ contract MockInterfold {
|
|
|
72
72
|
ciphertextOutput: bytes32(0),
|
|
73
73
|
plaintextOutput: plaintextOutput,
|
|
74
74
|
requester: address(0),
|
|
75
|
-
|
|
75
|
+
ciphertextCommitment: bytes32(0)
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crisp-e3/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"contracts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@zk-kit/lazy-imt.sol": "2.0.0-beta.12",
|
|
32
32
|
"poseidon-solidity": "^0.0.5",
|
|
33
33
|
"solady": "^0.1.13",
|
|
34
|
-
"@interfold/contracts": "0.
|
|
34
|
+
"@interfold/contracts": "0.4.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@nomicfoundation/hardhat-toolbox-mocha-ethers": "3.0.0",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"typechain": "^8.3.0",
|
|
53
53
|
"typescript": "5.8.3",
|
|
54
54
|
"viem": "2.30.6",
|
|
55
|
-
"@crisp-e3/zk-inputs": "^0.
|
|
56
|
-
"@crisp-e3/sdk": "^0.
|
|
55
|
+
"@crisp-e3/zk-inputs": "^0.12.0",
|
|
56
|
+
"@crisp-e3/sdk": "^0.12.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"compile": "hardhat compile",
|