Skip to content

Create network_utils crate#7761

Merged
mergify[bot] merged 5 commits into
sigp:unstablefrom
dknopik:network-utils
Sep 10, 2025
Merged

Create network_utils crate#7761
mergify[bot] merged 5 commits into
sigp:unstablefrom
dknopik:network-utils

Conversation

@dknopik

@dknopik dknopik commented Jul 18, 2025

Copy link
Copy Markdown
Member

Issue Addressed

Anchor currently depends on lighthouse_network for a few types and utilities that live within. As we use our own libp2p behaviours, we actually do not use the core logic in that crate. This makes us transitively depend on a bunch of unneeded crates (even a whole separate libp2p if the versions mismatch!)

Proposed Changes

Move things we require into it's own lightweight crate.

Additional Info

CC @diegomrsantos, wdyt?

@dknopik dknopik requested a review from jxs as a code owner July 18, 2025 14:53
@dknopik dknopik changed the title Crate network_utils crate Create network_utils crate Jul 18, 2025
@macladson

Copy link
Copy Markdown
Member

Love this idea! Just needs a cargo sort --workspace and a cargo fmt to pass CI

@macladson macladson added waiting-on-author The reviewer has suggested changes and awaits thier implementation. code-quality labels Jul 22, 2025
@mergify mergify Bot added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Jul 22, 2025
jimmygchen added a commit that referenced this pull request Jul 24, 2025
@mergify

mergify Bot commented Sep 8, 2025

Copy link
Copy Markdown

Some required checks have failed. Could you please take a look @dknopik? 🙏

@mergify mergify Bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Sep 8, 2025

@AgeManning AgeManning left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This refactor seems good to me

@AgeManning AgeManning added the v8.0.0-rc.0 Q3 2025 release for Fusaka on Holesky label Sep 10, 2025
@mergify mergify Bot added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Sep 10, 2025
@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Sep 10, 2025
mergify Bot added a commit that referenced this pull request Sep 10, 2025
mergify Bot added a commit that referenced this pull request Sep 10, 2025
mergify Bot added a commit that referenced this pull request Sep 10, 2025
@mergify mergify Bot merged commit ee1b6bc into sigp:unstable Sep 10, 2025
59 of 60 checks passed
PoulavBhowmick03 pushed a commit to PoulavBhowmick03/lighthouse that referenced this pull request Sep 12, 2025
Anchor currently depends on `lighthouse_network` for a few types and utilities that live within. As we use our own libp2p behaviours, we actually do not use the core logic in that crate. This makes us transitively depend on a bunch of unneeded crates (even a whole separate libp2p if the versions mismatch!)


  Move things we require into it's own lightweight crate.


Co-Authored-By: Daniel Knopik <[email protected]>
kevaundray pushed a commit to kevaundray/lighthouse that referenced this pull request Sep 13, 2025
Anchor currently depends on `lighthouse_network` for a few types and utilities that live within. As we use our own libp2p behaviours, we actually do not use the core logic in that crate. This makes us transitively depend on a bunch of unneeded crates (even a whole separate libp2p if the versions mismatch!)


  Move things we require into it's own lightweight crate.


Co-Authored-By: Daniel Knopik <[email protected]>
@dknopik dknopik deleted the network-utils branch February 17, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality ready-for-merge This PR is ready to merge. v8.0.0-rc.0 Q3 2025 release for Fusaka on Holesky

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants