Skip to content

Commit 8b1e50a

Browse files
authored
chore(docs): Supplement docs on modexp as a required precompile for Barretenberg's Solidity verifier (#7508)
1 parent ef51d8a commit 8b1e50a

File tree

3 files changed

+33
-12
lines changed

3 files changed

+33
-12
lines changed

docs/docs/how_to/how-to-solidity-verifier.mdx

+11-4
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,13 @@ It would be incorrect to say that a Noir proof verification costs any gas at all
271271

272272
:::
273273

274-
## A Note on EVM chains
274+
## Compatibility with different EVM chains
275275

276-
Noir proof verification requires the ecMul, ecAdd and ecPairing precompiles. 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. You can find an incomplete list of which EVM chains support these precompiles [here](https://www.evmdiff.com/features?feature=precompiles).
276+
Barretenberg proof verification requires the `ecMul`, `ecAdd`, `ecPairing`, and `modexp` EVM precompiles. You can deploy and use the verifier contract on all EVM chains that support the precompiles.
277277

278-
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:
278+
EVM Diff provides a great table of which EVM chains support which precompiles: https://www.evmdiff.com/features?feature=precompiles
279+
280+
Some EVM chains manually tested to work with the Barretenberg verifier include:
279281

280282
- Optimism
281283
- Arbitrum
@@ -289,7 +291,12 @@ For example, chains like `zkSync ERA` and `Polygon zkEVM` do not currently suppo
289291
- Linea
290292
- Moonbeam
291293

292-
If you test any other chains, please open a PR on this page to update the list.
294+
Meanwhile, some EVM chains chains manually tested that failed to work with the Barretenberg verifier include:
295+
296+
- zkSync ERA
297+
- Polygon zkEVM
298+
299+
Pull requests to update this section is welcome and appreciated if you have compatibility updates on existing / new chains to contribute: https://github.com/noir-lang/noir
293300

294301
## What's next
295302

docs/versioned_docs/version-v1.0.0-beta.2/how_to/how-to-solidity-verifier.mdx

+11-4
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,13 @@ It would be incorrect to say that a Noir proof verification costs any gas at all
271271

272272
:::
273273

274-
## A Note on EVM chains
274+
## Compatibility with different EVM chains
275275

276-
Noir proof verification requires the ecMul, ecAdd and ecPairing precompiles. 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. You can find an incomplete list of which EVM chains support these precompiles [here](https://www.evmdiff.com/features?feature=precompiles).
276+
Barretenberg proof verification requires the `ecMul`, `ecAdd`, `ecPairing`, and `modexp` EVM precompiles. You can deploy and use the verifier contract on all EVM chains that support the precompiles.
277277

278-
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:
278+
EVM Diff provides a great table of which EVM chains support which precompiles: https://www.evmdiff.com/features?feature=precompiles
279+
280+
Some EVM chains manually tested to work with the Barretenberg verifier include:
279281

280282
- Optimism
281283
- Arbitrum
@@ -289,7 +291,12 @@ For example, chains like `zkSync ERA` and `Polygon zkEVM` do not currently suppo
289291
- Linea
290292
- Moonbeam
291293

292-
If you test any other chains, please open a PR on this page to update the list.
294+
Meanwhile, some EVM chains chains manually tested that failed to work with the Barretenberg verifier include:
295+
296+
- zkSync ERA
297+
- Polygon zkEVM
298+
299+
Pull requests to update this section is welcome and appreciated if you have compatibility updates on existing / new chains to contribute: https://github.com/noir-lang/noir
293300

294301
## What's next
295302

docs/versioned_docs/version-v1.0.0-beta.3/how_to/how-to-solidity-verifier.mdx

+11-4
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,13 @@ It would be incorrect to say that a Noir proof verification costs any gas at all
271271

272272
:::
273273

274-
## A Note on EVM chains
274+
## Compatibility with different EVM chains
275275

276-
Noir proof verification requires the ecMul, ecAdd and ecPairing precompiles. 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. You can find an incomplete list of which EVM chains support these precompiles [here](https://www.evmdiff.com/features?feature=precompiles).
276+
Barretenberg proof verification requires the `ecMul`, `ecAdd`, `ecPairing`, and `modexp` EVM precompiles. You can deploy and use the verifier contract on all EVM chains that support the precompiles.
277277

278-
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:
278+
EVM Diff provides a great table of which EVM chains support which precompiles: https://www.evmdiff.com/features?feature=precompiles
279+
280+
Some EVM chains manually tested to work with the Barretenberg verifier include:
279281

280282
- Optimism
281283
- Arbitrum
@@ -289,7 +291,12 @@ For example, chains like `zkSync ERA` and `Polygon zkEVM` do not currently suppo
289291
- Linea
290292
- Moonbeam
291293

292-
If you test any other chains, please open a PR on this page to update the list.
294+
Meanwhile, some EVM chains chains manually tested that failed to work with the Barretenberg verifier include:
295+
296+
- zkSync ERA
297+
- Polygon zkEVM
298+
299+
Pull requests to update this section is welcome and appreciated if you have compatibility updates on existing / new chains to contribute: https://github.com/noir-lang/noir
293300

294301
## What's next
295302

0 commit comments

Comments
 (0)