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

[batcher] Add Channel interface and factory #12337

Closed

Conversation

mdehoog
Copy link
Contributor

@mdehoog mdehoog commented Oct 5, 2024

Description

Adds a Channel interface, and the ability to customize the Channel implementation by passing in a ChannelFactory function to the DriverSetup / BatcherService.

Tests

Added test for factory, and updated existing tests to work with new interface.

Additional context

The L3 project needs the ability to customize what happens on Block and Tx submission. This PR provides the required hooks.

@mdehoog mdehoog force-pushed the michael/channel-interface branch from 008d053 to c262d85 Compare October 5, 2024 00:43
@mdehoog mdehoog marked this pull request as ready for review October 5, 2024 00:43
@mdehoog mdehoog requested review from a team as code owners October 5, 2024 00:43
@mdehoog mdehoog requested a review from bitwiseguy October 5, 2024 00:43
@mdehoog
Copy link
Contributor Author

mdehoog commented Oct 5, 2024

Decided to implement this an alternative way, PR incoming

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.

1 participant