Skip to content

[ZK Stack] - GET /proof_generation_data and POST /verify_proof/:number do not work as expected #1045

Discussion options

You must be logged in to vote

Does that mean in turn that zkStack server does not provide an API endpoint where I can fetch the generated proof binary?

Yes, that's correct.

Isn't that counter intuitive? Shouldn't people on the public network be able to validate your proofs verifying the state of l2 on l1 at all times? Or is that possible through another part of your system?

The expectation is that they would do so on L1/Settlement Layer (and not server side). The proofs themselves are validated on-chain, so I'm not sure why people on the public network would need them from a centralized (potentially malicious) server when they have all the data needed on-chain.

I'm not sure for the other 2 endpoints, but I can loop

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@thecodingshrimp
Comment options

@EmilLuta
Comment options

@thecodingshrimp
Comment options

@EmilLuta
Comment options

Answer selected by thecodingshrimp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ZK Stack
Labels
zk-stack ZK Stack Question
4 participants