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(derive): BatchProvider stage #699

Open
clabby opened this issue Oct 16, 2024 · 0 comments
Open

feat(derive): BatchProvider stage #699

clabby opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
A-derive Area: kona-derive crate H-holocene Hardfork: Holocene related K-feature Kind: feature

Comments

@clabby
Copy link
Collaborator

clabby commented Oct 16, 2024

Overview

As a part of the Holocene hardfork, the functionality of the BatchQueue is no longer needed after activation. This means we can replace the stage with a much more simplified version that only has to contend with single batches.

Similar to the pattern used to multiplex the ChannelAssembler and ChannelBank, we should multiplex the BatchQueue with a BatchSequencer stage upon Holocene activation.

Notably, this will require a few changes to the multiplexed_stage macro, to support additional generics as well as the ability to transfer more than just stage.prev over to the new stage.

When transmuting the BatchQueue into the BatchSequencer, batch_queue.l1_blocks must be preserved as it is passed over to the new stage.

@clabby clabby added A-derive Area: kona-derive crate H-holocene Hardfork: Holocene related K-feature Kind: feature labels Oct 16, 2024
@clabby clabby self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-derive Area: kona-derive crate H-holocene Hardfork: Holocene related K-feature Kind: feature
Projects
None yet
Development

No branches or pull requests

1 participant