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

[Merged by Bors] - Revive mplex #4619

Closed
wants to merge 1 commit into from

Conversation

pawanjay176
Copy link
Member

@pawanjay176 pawanjay176 commented Aug 15, 2023

Issue Addressed

N/A

Proposed Changes

In #4431 , we seem to have removed support for mplex as it is being deprecated in libp2p. See libp2p/specs#553 . Related rust-libp2p PR libp2p/rust-libp2p#3920
However, since this isn't part of the official consensus specs, we still need to support mplex.

Clients MUST support mplex and MAY support yamux.

This PR adds back mplex support as before.

@pawanjay176 pawanjay176 added ready-for-review The code is ready for review v4.4.1 ETA August 2023 labels Aug 15, 2023
@pawanjay176
Copy link
Member Author

@jxs tagging because not able to add you as a reviewer for some reason.

Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

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

Thanks Pawan, LGTM.
Wasn't aware of the required support of mplex on the consensus-specs. According to libp2p/specs#553 it seems both Nimbus and Lodestar folks are moving to Yamux.

Wdyt of opening a PR updating the specs on consensus-specs deprecating Mplex, to be merged when every client supports it as the first option ?
CC @AgeManning

@jimmygchen jimmygchen mentioned this pull request Aug 17, 2023
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.

Yep, nice catch.

Didn't notice we removed it. As far as I know js, nim & java don't have yamux yet, so I think we inadvertantly removed support for connections to nimbus, lodestar and teku.

I believe they are all planning on upgrading, so we should maintain mplex at least for the time being.

@AgeManning AgeManning added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Aug 21, 2023
@jxs
Copy link
Member

jxs commented Aug 23, 2023

opened ethereum/consensus-specs#3490

@AgeManning
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Aug 24, 2023
## Issue Addressed

N/A

## Proposed Changes

In #4431 , we seem to have removed support for mplex as it is being deprecated in libp2p. See libp2p/specs#553 . Related rust-libp2p PR libp2p/rust-libp2p#3920
However, since this isn't part of the official [consensus specs](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#multiplexing), we still need to support mplex. 

> Clients MUST support [mplex](https://github.com/libp2p/specs/tree/master/mplex) and MAY support [yamux](https://github.com/hashicorp/yamux/blob/master/spec.md).

This PR adds back mplex support as before.
@bors
Copy link

bors bot commented Aug 24, 2023

Build failed:

@michaelsproul
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Aug 24, 2023
## Issue Addressed

N/A

## Proposed Changes

In #4431 , we seem to have removed support for mplex as it is being deprecated in libp2p. See libp2p/specs#553 . Related rust-libp2p PR libp2p/rust-libp2p#3920
However, since this isn't part of the official [consensus specs](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#multiplexing), we still need to support mplex. 

> Clients MUST support [mplex](https://github.com/libp2p/specs/tree/master/mplex) and MAY support [yamux](https://github.com/hashicorp/yamux/blob/master/spec.md).

This PR adds back mplex support as before.
@bors
Copy link

bors bot commented Aug 24, 2023

Build failed (retrying...):

@michaelsproul
Copy link
Member

bors r-
bors r+

@bors
Copy link

bors bot commented Aug 24, 2023

Canceled.

bors bot pushed a commit that referenced this pull request Aug 24, 2023
## Issue Addressed

N/A

## Proposed Changes

In #4431 , we seem to have removed support for mplex as it is being deprecated in libp2p. See libp2p/specs#553 . Related rust-libp2p PR libp2p/rust-libp2p#3920
However, since this isn't part of the official [consensus specs](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#multiplexing), we still need to support mplex. 

> Clients MUST support [mplex](https://github.com/libp2p/specs/tree/master/mplex) and MAY support [yamux](https://github.com/hashicorp/yamux/blob/master/spec.md).

This PR adds back mplex support as before.
@bors
Copy link

bors bot commented Aug 24, 2023

Pull request successfully merged into unstable.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title Revive mplex [Merged by Bors] - Revive mplex Aug 24, 2023
@bors bors bot closed this Aug 24, 2023
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
N/A

In sigp#4431 , we seem to have removed support for mplex as it is being deprecated in libp2p. See libp2p/specs#553 . Related rust-libp2p PR libp2p/rust-libp2p#3920
However, since this isn't part of the official [consensus specs](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#multiplexing), we still need to support mplex.

> Clients MUST support [mplex](https://github.com/libp2p/specs/tree/master/mplex) and MAY support [yamux](https://github.com/hashicorp/yamux/blob/master/spec.md).

This PR adds back mplex support as before.
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
N/A

In sigp#4431 , we seem to have removed support for mplex as it is being deprecated in libp2p. See libp2p/specs#553 . Related rust-libp2p PR libp2p/rust-libp2p#3920
However, since this isn't part of the official [consensus specs](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#multiplexing), we still need to support mplex.

> Clients MUST support [mplex](https://github.com/libp2p/specs/tree/master/mplex) and MAY support [yamux](https://github.com/hashicorp/yamux/blob/master/spec.md).

This PR adds back mplex support as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Networking ready-for-merge This PR is ready to merge. v4.4.1 ETA August 2023
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants