-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add block-fetch to Diffusion tests #3852
Conversation
7cc2dfc
to
5fe30cd
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.
Very nice, some review comments.
ouroboros-network/src/Ouroboros/Network/BlockFetch/ClientRegistry.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/src/Ouroboros/Network/BlockFetch/ClientRegistry.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/test/Test/Ouroboros/Network/Diffusion/Node/MiniProtocols.hs
Show resolved
Hide resolved
ouroboros-network/test/Test/Ouroboros/Network/Diffusion/Node/NodeKernel.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/test/Test/Ouroboros/Network/Testnet/Simulation/Node.hs
Show resolved
Hide resolved
ecf2ce6
to
69ff064
Compare
5753461
to
ed9eed6
Compare
fce1b24
to
2411dfd
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.
LGTM
@coot should I ask for someone from consensus to approve as well? |
ouroboros-network/src/Ouroboros/Network/BlockFetch/ClientRegistry.hs
Outdated
Show resolved
Hide resolved
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.
LGTM.
2411dfd
to
d87bce3
Compare
bors retry |
Build failed: |
bors merge |
Build failed: |
bors retry |
Build failed: |
bors merge |
1 similar comment
bors merge |
Build failed: |
Used ClientRegistry bracket functions
276588a
to
dde9c2d
Compare
In Snocket when connecting in the NormalOpen case we were putting the dual connection (swap local and remote channels) in the network state. This is wrong because when we read this particular 'conn' variable from the accept queue we are going to swap the local and remote channels once again, messing things up.
dde9c2d
to
08f0735
Compare
bors merge |
4120: Cherry picked network changes for cardano-node-1.35.5 release r=coot a=coot This cherry-picked patches from the following PRs: * #3794 * #3844 * #3785 * #3904 * #3915 * #3852 * #3970 * #3979 * #4015 * #4067 * #4004 * #4086 * #4113 * #4106 * #4127 * #4103 Also cherry-picked almost all the commits which modify GitHub actions: * 18c5244 Run GitHub Actions on pull requests * 3adf5a9 Use newer version of io-sim * ee9b7a6 Fix GH Actions Windows CI: switch from pkgconf to pkg-config * e6cf074 github-actions: use `ubuntu-latest` * 9a8b959 Updated versions of github actions * fc8f8f0 Fix GH Actions Windows CI caching * 7f07c40 Windows Github Actions now use MSYS2 * b21a7ce Fix chocolatey CI error * #4134 TODO: * [x] bump versions of packages * [x] input-output-hk/cardano-haskell-packages#84 Co-authored-by: Mark Tullsen <tullsen@galois.com> Co-authored-by: Marcin Szamotulski <coot@coot.me>
Description
This PR makes it so header-body split and block-fetch run in Diffusion tests.
Checklist
interface-CHANGELOG.md
interface-CHANGELOG.md