Skip to content

zk proof for state transition function in lean consensus #854

@DimitriosMitsios

Description

@DimitriosMitsios

Describe the feature

The goal of draft PR #835 is to allow the block proposer to generate a zk proof of the state transition function. The proof will be gossiped and other validators will be able to verify it. We will use risc0 zkVM for start.

Question
How should we implement sending and receiving of LeanChainServiceMessage::ProduceProofBlock. Receiving the proof will not happen at the given slot but a few minutes later.
Our current implementation is probably wrong: https://github.com/DimitriosMitsios/ream/blob/99062abb34f142d88db520371c651d86ae164c58/crates/common/validator/lean/src/service.rs#L83-L88

Future work
Acceptance criteria and Justin's comments found in issue #13 will be considered later on, once we get a working prototype.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions