-
Notifications
You must be signed in to change notification settings - Fork 90
Reorganised ouroboros-network packages #5200
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
Conversation
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
55256cd
to
e6d5962
Compare
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
c6a5a1e
to
d18af16
Compare
Can we remove the commit
[edit] to avoid the issue of double trace output, maybe we can switch our counterexamples:
|
The commit |
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.
just one comment and one request
Good point, I'll drop this commit from this PR. |
879eed1
to
2c46e60
Compare
They were moved to `ouroboros-network:cardano-diffusion` in a previous PR.
* `ouroboros-network-protocols` -> `ouroboros-network:protocols` in `protocols/lib` * `ouroboros-network-protocols:testlib` -> `ouroboros-network:protocols-tests-lib` in `protocols/tests-lib` * `ouroboros-network-protocols:test` -> `ouroboros-network:protocols-tests` in `protocols/tests` * `ouroboros-network-protocols:bench` -> `ouroboros-network:protocols-bench` in `protocols/bench`
* `ouroboros-network-framework` -> `ouroboros-network:framework` in `framework/lib` * `ouroboros-network-framework:testlib` -> `ouroboros-network:framework-tests-lib` in `framework/tests-lib` * `ouroboros-network-framework:sim-tests` -> `ouroboros-network:framework-sim-tests` in `framework/sim-tests` * `ouroboros-network-framework:io-tests` -> `ouroboros-network:framework-io-tests` in `framework/io-tests` * `ouroboros-network-framework:demo-connection-manager` -> `ouroboros-network:demo-connection-manager` in `demo` * `ouroboros-network-framework:demo-ping-pong` -> `ouroboros-network:demo-ping-pong` in `demo`
* `ouroboros-newtork-mock` -> `ouroboros-network:mock` in `mock`
ouroboros-network tests moved / renamed: * `ouroboros-network:testlib` -> `ouroboros-network:ouroboros-network-tests-lib` in `tests/lib` * `ouroboros-network:sim-tests` -> `ouroboros-network:ouroboros-network-sim-tests` in `tests/sim` * `ouroboros-network:io-tests` -> `ouroboros-network:ouroboros-network-io-tests` in `tests/io`
* `ouroboros-network-testing` -> `ouroboros-network:tests-lib` in `tests-lib/lib` * `ouroboros-network-testing:test` -> `ouroboros-network:tests-lib` in `tests-lib/tests`
* `ouroboros-network-api` -> `ouroboros-network:api` in `ouroboros-network/api/lib` * `ouroboros-network-api:test` -> `ouroboros-network:api-tests` in `ouroboros-network/api/tests` * `ouroboros-network-api:bench-anchored-fragment` -> `ouroboros-network:api-bench` in `ouroboros-network/api/bench`
Introduced `cardano-diffusion` package. Some things are hidden inside of it because that's how we are testing things now, in particular `PeerSelection` and `Testnet` tests depend on `Cardano` constructs. In the future we could split them into general test & cardano specific tests, this will be in particularly useful for another non-trivial extension of `ouroboros-network`, but also might organise tests better.
Expanded `Ouroboros.Network.PeerSelection` module to simplify imports in downstream libraries.
Added `Cardano.Network.PeerSelection` which re-export useful cardano peer selection APIs.
* refactored `requireBootstrapPeers` * `unit_peer_sharing`: refactored to get debug output easier * labelled inbound governor state var
This is inline with other testing component in `ouroboros-network` repository.
We don't need to disambiguate record fields anymore.
It is a left over after merging tx-submission logic. The module was moved to `Ouroboros.Network.TxSubmission.Inbound.V1`.
Description
Checklist
Quality
Maintenance
ouroboros-network
project.