We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kona_derive
After initializing the pipeline, the main loop will involve taking incoming Chain notifications from the Driver and:
Chain
Driver
FinishedHeight
here is a reference implementation:
async fn handle_exex_notification( &mut self, notification: ExExNotification, pipeline: &mut RollupPipeline, ) -> Result<()> { if let Some(reverted_chain) = notification.reverted_chain() { self.chain_provider.commit(reverted_chain.clone()); let l1_block_info = info_from_header(&reverted_chain.tip().block); // handle the reverted chain... } if let Some(committed_chain) = notification.committed_chain() { let tip_number = committed_chain.tip().number; self.chain_provider.commit(committed_chain); if let Err(err) = self.ctx.events.send(ExExEvent::FinishedHeight(tip_number)) { bail!("Critical: Failed to send ExEx event: {:?}", err); } } Ok(()) }
The text was updated successfully, but these errors were encountered:
@merklefruit Could I try this one?
Sorry, something went wrong.
Hey, sorry I had already started a draft PR of this in #57, but forgot to tag it here. My bad!
ede6e52
Successfully merging a pull request may close this issue.
kona_derive
#31After initializing the pipeline, the main loop will involve taking incoming
Chain
notifications from theDriver
and:FinishedHeight
notification to theDriver
here is a reference implementation:
The text was updated successfully, but these errors were encountered: