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

refactor: move ethereum and op builder into separate crates #5876

Merged
merged 6 commits into from
Dec 28, 2023

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Dec 28, 2023

The motivation for this is to reduce the number of in code cfg optimism and have standalone components for different networks instead.

extracts the OP code from the basic-payload-builder and add

ethereum-payload-builder
optimimism-payload-builder

so we need less cfg optimism.

this needs a few cleanup task afterwards but should be fine for now.

Note that crates still have an optimism feature to make it easier to handle mutually exclusive payload builder crates, because clippy doesn't respect the exclude members setting from Cargo.toml

This is still a bit horrible, but at least separates the implementations.

~~blocked by #5869 ~~

@mattsse mattsse added S-blocked This cannot more forward until something else changes A-block-building Related to block building labels Dec 28, 2023
@mattsse mattsse mentioned this pull request Dec 28, 2023
@mattsse mattsse added C-debt Refactor of code section that is hard to understand or maintain and removed S-blocked This cannot more forward until something else changes labels Dec 28, 2023
@mattsse mattsse marked this pull request as ready for review December 28, 2023 17:42
@mattsse mattsse requested review from clabby and DaniPopes and removed request for Rjected, onbjerg and gakonst December 28, 2023 17:42
@mattsse mattsse requested a review from Rjected December 28, 2023 17:44
Copy link
Collaborator

@clabby clabby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as an initial split. Feel free to ticket out any further cleanups you have in mind to @refcell and I!

Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Rjected Rjected added this pull request to the merge queue Dec 28, 2023
Merged via the queue into main with commit e5ecd4a Dec 28, 2023
28 checks passed
@Rjected Rjected deleted the matt/split-ethereum-and-op-builder-impls branch December 28, 2023 20:07
@mattsse
Copy link
Collaborator Author

mattsse commented Dec 28, 2023

LGTM as an initial split. Feel free to ticket out any further cleanups you have in mind to @refcell and I!

sweet will do, this is prep for moving off op features, (soonish), feature by feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-block-building Related to block building C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants