Skip to content

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.

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