Skip to content

Conversation

@dknopik
Copy link
Member

@dknopik dknopik commented Jul 18, 2025

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
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
Copy link

mergify bot commented Sep 8, 2025

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
Copy link
Member

@AgeManning AgeManning left a comment

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]>
jtraglia pushed a commit to jtraglia/lighthouse that referenced this pull request Sep 16, 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]>
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