Skip to content

Commit

Permalink
Update how-to-solidity-verifier.md
Browse files Browse the repository at this point in the history
Since its latest v24 upgrade, zkSync supports ecMul, ecAdd, and ecPairing. 

The verifier compiles and deploys on zkSync Sepolia Testnet
  • Loading branch information
0xsisyfos authored May 22, 2024
1 parent 7936262 commit 04f747e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,14 @@ It would be incorrect to say that a Noir proof verification costs any gas at all

ZK-SNARK verification depends on some precompiled cryptographic primitives such as Elliptic Curve Pairings (if you like complex math, you can read about EC Pairings [here](https://medium.com/@VitalikButerin/exploring-elliptic-curve-pairings-c73c1864e627)). Not all EVM chains support EC Pairings, notably some of the ZK-EVMs. This means that you won't be able to use the verifier contract in all of them.

For example, chains like `zkSync ERA` and `Polygon zkEVM` do not currently support these precompiles, so proof verification via Solidity verifier contracts won't work. Here's a quick list of EVM chains that have been tested and are known to work:
For example, `Polygon zkEVM` does not currently support these precompiles, so proof verification via Solidity verifier contracts won't work. Here's a quick list of EVM chains that have been tested and are known to work:

- Optimism
- Arbitrum
- Polygon PoS
- Scroll
- Celo
- zkSync

If you test any other chains, please open a PR on this page to update the list. See [this doc](https://github.com/noir-lang/noir-starter/tree/main/with-foundry#testing-on-chain) for more info about testing verifier contracts on different EVM chains.

Expand Down

0 comments on commit 04f747e

Please sign in to comment.