-
Notifications
You must be signed in to change notification settings - Fork 72
feat: go/rust compatible python implementation of gossipsub interop #728
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
base: master
Are you sure you want to change the base?
feat: go/rust compatible python implementation of gossipsub interop #728
Conversation
| @@ -0,0 +1,69 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's move this change to a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I will move it to a separate PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should commit the uv.lock file as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'll add uv.lock file!
|
Did you actually run this and get successful results? |
Hi @MarcoPolo |
|
Shadow is different from docker. These tests are only expected to run within shadow. What are the build issues? Are you building on a released version of Shadow? Shadow only works on linux amd64. |
|
I am using macOS, where I am creating a Docker container with Ubuntu
24.04 and attempting to build the released version of Shadow by
following the documentation. I have attached a screenshot below that
shows the issue occurring during the build. Could you guide me further
on this build issue? For now, I am proceeding without the Shadow
simulator.
You need to run this on an amd64 linux. Docker won't work.
|
Thank you for the clarification, I'll get start with Shadow Simulator on amd64 linux device along with my team and get back to you! |

Adds a Python implementation for GossipSub interoperability testing, enabling cross-language compatibility testing between Python (py-libp2p), Go (go-libp2p), and Rust (rust-libp2p) implementations using the Shadow network simulator.
What's Added
py-libp2p/main.py) - Full Shadow-compatible GossipSub nodepython-and-go,python-and-rust, andall-threescenariosKey Features
node{id}pattern)Testing
The Python implementation follows the exact same Shadow compatibility requirements as the existing Go and Rust implementations, ensuring seamless interoperability testing across all three language implementations.