halo2-verifier.move icon indicating copy to clipboard operation
halo2-verifier.move copied to clipboard

A set of tooling of halo2 circuits verification in Move environments

Results 7 halo2-verifier.move issues
Sort by recently updated
recently updated
newest added

Although we had verified the correctness of the verifier. Still many problems to be resolved to make it usable on aptos mainnet. - [ ] aptos limit on elments mem...

related https://github.com/scroll-tech/snark-verifier/pull/24

enhancement

Currently, Aptos limits the max mem usage for crypto elements. ![501701412647_ pic](https://github.com/zkmove/halo2-verifier.move/assets/1456096/902c35b6-f8ad-4721-9355-3af0575d2f4c) Thus, it cannot support complex computation of our plonk verifier which produces many temporary elements. We need to...

try to push the functions to aptos natives.

currently, omega is calculated in the place for the bn254 curve. we can pre-compute them for k from 1 to 28.

since aptos support blake2b, we can add this. should share most of the code in current transcipt, only relace the keccak256 part with blake2b.