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

cmd, p2p: Migrate p2p/simulations & p2p/testing to ethersphere/swarm, Removed cmd/p2psim #20122

Closed
wants to merge 3 commits into from

Conversation

chadsr
Copy link
Contributor

@chadsr chadsr commented Sep 24, 2019

This PR migrates p2p/simulations and p2p/testing to the ethersphere/swarm repository.
A motivation for this decision can be found in the complementing PR.

There were two slight complications:

  1. p2p/rlpx_test.go utilises p2p/simulations/pipes. To solve this, p2p/simulations/pipes remains, and is renamed to p2p/pipes. If someone with more knowledge prefers another solution, I can change this.
  2. cmd/p2psim also utilises the p2p/simulation package. I have removed it completely for now.

Also, CODEOWNERS would need updating, but I feel weird doing that myself.

EDIT: I missed another complication in les/api_test.go and now I am not 100% convinced that this migration can happen as @acud had hoped.

@chadsr chadsr changed the title p2p: Migrate p2p/simulations & p2p/testing to ethersphere/swarm cmd, p2p: Migrate p2p/simulations & p2p/testing to ethersphere/swarm, Removed cmd/p2psim Sep 24, 2019
@fjl
Copy link
Contributor

fjl commented Sep 25, 2019

I would prefer to keep those packages here. We do use them in the go-ethereum tests as well and I'm happy to keep them from bit-rotting indefinitely.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants