anton-rs / kona

A suite of `no_std` components for the OP Stack state transition function and L2 chain derivation.
https://anton-rs.github.io/kona
MIT License
135 stars 45 forks source link

fix(derive): Data Availability Provider Abstraction #782

Closed refcell closed 1 week ago

refcell commented 1 week ago

Description

Fixes kona-derive's data availability abstraction to remove the AsyncIterator and make the abstraction much simpler.

This allows the concrete implementation for Ethereum to handle how calldata <> blob source dispatch is done without binding the behavior to a trait abstraction that other users of kona-derive don't need.

refcell commented 1 week ago

📚 $\text{Stack Overview}$

Pulls submitted in this stack:

This comment was automatically generated by st.

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 97.63780% with 9 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@4fc1ef6). Learn more about missing BASE report. Report is 1 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines Patch % Lines
crates/derive/src/sources/blob_data.rs 95.3% 9 Missing :warning:
Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.