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(node-builder): move network setup to node-builder launch/ BuilderContext types #8648

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

fgimenez
Copy link
Member

@fgimenez fgimenez commented Jun 6, 2024

Closes #7953

All network-related code is moved from NodeConfig to BuilderContext. Also WithConfigs is used as a config container in BuilderContext, replacing the two separate config fields (node and toml config).

@github-actions github-actions bot added A-sdk Related to reth's use as a library C-enhancement New feature or request labels Jun 6, 2024
@fgimenez fgimenez changed the title feat(node-builder): move network setup to launch feat(node-builder): move network setup to node-builder launch/ BuilderContext types Jun 6, 2024
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

awesome!
step by step the node-core crate will be cleaned up hehe

Comment on lines -43 to -45
# ethereum
discv5.workspace = true

Copy link
Collaborator

Choose a reason for hiding this comment

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

nice!

Comment on lines +413 to +414
/// Config container
pub(crate) config_container: WithConfigs,
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice!

@mattsse mattsse added this pull request to the merge queue Jun 6, 2024
Merged via the queue into main with commit f80b054 Jun 6, 2024
30 checks passed
@mattsse mattsse deleted the fgimenez/move-network-setup-to-launch branch June 6, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdk Related to reth's use as a library C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move network setup code from node-core to node-builder launch/ BuilderContext types
2 participants