-
Notifications
You must be signed in to change notification settings - Fork 47
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
alt-da support #854
Comments
We are trying to add support to kona for eigenda, so currently exploring best ways to do this. Background InfoCelestia wrote a fork. This has been invaluable in helping us understand how to do altda integrations, so want to thank Diego for making this public. However, their approach (embedding the altda provider inside the calldata and blob data sources) does the opposite of what the kona book's custom da-provider section recommends (doing the wrapping the other way around, with an altda_data_source wrapping the ethereum_data_source). The approach in the book seems concordant with @refcell's latest answer here:
Proposed ArchitectureIt seems like op's prefered approach is that each altda team maintain their own crate, which would import kona modules, and implement:
These crates would then need to be upstreamed and used (guarded by feature flags) in the different OP implementations such as hilo, op-succinct, kailua. Here's an example of how this could work in Kailua. Their client's driver code could look like
And their host's main code would start the server and client using the altda function (or perhaps these functions could use trait-based dependency injection instead... see discussion section below):
Op-Succinct currently uses their own fork of kona, which would make this approach not work. Hopefully this fork is temporary until kona provides a multi-block derivation? Discussion / WorriesThe client DAP trait seems very clean, but forking the Have not thought about this enough to have a good suggestion here, but perhaps the PreimageServer, start_native_preimage_server, etc. that use the Fetcher struct could use a trait instead, such that we could pass a Fetcher wrapper that would also implement altda hints/requests. |
Is there support for alt-da derivation? it seems just a few pieces of it. this will unlock many rollups being using alt-da for fpm and in general for other integrations like risc0 and op-succinct
The text was updated successfully, but these errors were encountered: