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

feat(driver): Multi-block derivation #888

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hashcashier
Copy link
Contributor

@hashcashier hashcashier commented Jan 8, 2025

This PR adds an optional PipelineCursor instance into OracleL2ChainProvider which enables the forward movement of the reference L2 block hash used to verifiably query L2 block data by number.

Using this cursor in the provider enables providing authenticated data to the pipeline beyond what could previously be validating only using the commitments in BootInfo.

This allows Driver::advance_to_target to iteratively process multiple sequential blocks, extending the usability of Kona in ZK fault proofs.

The PR also reduces some boilerplate by introducing convenience methods in HintType and OracleL2ChainProvider.

Closes #795

@hashcashier hashcashier changed the title feat(driver): Multi-block proofs feat(driver): Multi-block derivation Jan 8, 2025
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.

feat(driver): Multi-block derivation
1 participant