Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Off-chain preprocessing and mandatory on-chain computations #40

Open
storojs72 opened this issue Nov 1, 2023 · 0 comments
Open

Off-chain preprocessing and mandatory on-chain computations #40

storojs72 opened this issue Nov 1, 2023 · 0 comments

Comments

@storojs72
Copy link
Collaborator

storojs72 commented Nov 1, 2023

One additional way to reduce the gas cost of on-chain verification is moving some parts of verification logic to the form of preprocessing, which client can execute off-chain and submit results to on-chain verifier along with the proof / public parameters. Those results can be utilised by the verifier and thereby final gas cost can be reduced.

Can we identify what kind of computations in the whole e2e Nova verification are not so-to-speak "security sensitive" (may be there is better term for that) and can be moved to preprocessing phase performed off-chain, and which ones should be performed mandatory on-chain?

The data loader, that we currently use for uploading proof / public parameters data to the node's global storage seems to be very natural place for doing those off-chain preprocessing.

Seems that G1/G2 points decompression is a good candidate for being included into off-chain preprocessing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants