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

WIP: E2E ZK Validity Proofs #62

Closed
wants to merge 27 commits into from
Closed

WIP: E2E ZK Validity Proofs #62

wants to merge 27 commits into from

Conversation

zobront
Copy link
Collaborator

@zobront zobront commented Jul 26, 2024

This is a WIP PR that will contain the minimal diff needed to get an OP Stack deployed that supports full ZK validity proofs.

This will be built using the OptimismPortal (V1) contract, which relies on the L2OutputOracle, which will be adapted to support ZK.

Contract Todos

  • Update L2OutputOracle to use ZK
  • upgrade deploy scripts and config to work with ZK
  • write test for zk L2 root proposal passing
  • make delta between proven blocks variable to account for span batches
  • Generate initial output root from Genesis file rather than config
  • Get all old tests passing with clean abstractions

Proposer Todos

  • update op-proposer to submit proofs
  • make sure op-proposer checkpoints blockhash before submitting
  • Generate the new ABI and bindings for the ZKL2OO. Should be able to use make op-bindings to generate once we have contracts finalized.
  • Update FetchNextOutputInfo to wait for completed span batch
  • Process for running against a kona-sp1 zkvm_host binary
  • Generate the SP1 proof

E2E Todos

  • Testing
  • Run through tutorial to run local testnet with this

@zobront zobront changed the title adapt L2OO to ZKL2OO for minimal diff WIP: L2OO => ZKL2OO Jul 29, 2024
@zobront zobront changed the title WIP: L2OO => ZKL2OO WIP: E2E ZK Validity Proofs Jul 29, 2024
@zobront
Copy link
Collaborator Author

zobront commented Aug 8, 2024

Closing this PR as it'll be cleaner to keep the proposer and contract work separate until we're ready to merge.

@zobront zobront closed this Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant