Skip to content

Commit 069e7b3

Browse files
KyrylRArvolear
andauthored
Added Noir Verifiers (v0.1.4) (#31)
* Added more Noir verifiers * Added more Noir verifiers * Added more Noir verifiers (v0.1.4) * DRAFT. CHANGELOG.md. * update changelog --------- Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
1 parent 13febe7 commit 069e7b3

12 files changed

+20628
-18
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ generated-types
1515
.storage.json
1616

1717
# Custom deployments
18+
deploy/add-verifier
19+
deploy/cert-disp
1820
deploy/noir-verifier
1921
deploy/update-verifier
2022
deploy/upgrade-registration

CHANGELOG.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Changelog
22

3-
## [0.1.6]
4-
3+
## [0.2.0]
4+
5+
* Removed TSS integration from all the contracts.
6+
* Upgraded OZ dependency to `0.5.2`.
7+
* Upgraded Solarity dependency to `3.0.0`.
8+
* The minimal Solidity compiler version is now `0.8.21`.
9+
* Removed the legacy `Registration` contract with its verifiers.
10+
* Added `Registration2` support for Noir-based verifiers.
511
* Added new algorithms:
612
1. **Certificate dispatchers**
713

@@ -11,8 +17,19 @@
1117
C_ECDSA_SECP256R1_SHA1_256 = keccak256("C_ECDSA_SECP256R1_SHA1_256");
1218
```
1319
14-
## [0.1.5]
20+
2. **Passport verifiers**
1521
22+
```solidity
23+
Z_NOIR_PASSPORT_1_256_3_4_600_248_1_1496_3_256 = keccak256("Z_NOIR_PASSPORT_1_256_3_4_600_248_1_1496_3_256");
24+
Z_NOIR_PASSPORT_2_256_3_6_248_336_1_2432_3_256 = keccak256("Z_NOIR_PASSPORT_2_256_3_6_248_336_1_2432_3_256");
25+
Z_NOIR_PASSPORT_2_256_3_6_336_248_1_2432_3_256 = keccak256("Z_NOIR_PASSPORT_2_256_3_6_336_248_1_2432_3_256");
26+
Z_NOIR_PASSPORT_2_256_3_6_336_264_21_2448_6_2008 = keccak256("Z_NOIR_PASSPORT_2_256_3_6_336_264_21_2448_6_2008");
27+
Z_NOIR_PASSPORT_10_256_3_3_576_248_1_1184_5_264 = keccak256("Z_NOIR_PASSPORT_10_256_3_3_576_248_1_1184_5_264");
28+
Z_NOIR_PASSPORT_20_256_3_3_336_224_NA = keccak256("Z_NOIR_PASSPORT_20_256_3_3_336_224_NA");
29+
Z_NOIR_PASSPORT_21_256_3_3_576_232_NA = keccak256("Z_NOIR_PASSPORT_21_256_3_3_576_232_NA");
30+
```
31+
32+
## [0.1.5]
1633
1734
* Upgraded `StateKeeper` and `Registration2` to be Ownable + TSS. Ownable changes do not require Merkle Proof checks.
1835
* Added new algorithms:
@@ -224,3 +241,14 @@
224241
* The `chainName` field is used to add support for contract upgradability and other actions via TSS.
225242
* It was also added due to current conventions in the existing system.
226243
* Cleaned up tests.
244+
245+
### Added
246+
247+
- Add Noir passport verifiers:
248+
- Z_NOIR_PASSPORT_1_256_3_4_600_248_1_1496_3_256,
249+
- Z_NOIR_PASSPORT_2_256_3_6_248_336_1_2432_3_256,
250+
- Z_NOIR_PASSPORT_2_256_3_6_336_248_1_2432_3_256,
251+
- Z_NOIR_PASSPORT_2_256_3_6_336_264_21_2448_6_2008,
252+
- Z_NOIR_PASSPORT_10_256_3_3_576_248_1_1184_5_264,
253+
- Z_NOIR_PASSPORT_20_256_3_3_336_224_NA,
254+
- Z_NOIR_PASSPORT_21_256_3_3_576_232_NA.

0 commit comments

Comments
 (0)