Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Fix quic client on TestValidator#27044

Closed
CriesofCarrots wants to merge 1 commit intosolana-labs:masterfrom
CriesofCarrots:fix-single-bind
Closed

Fix quic client on TestValidator#27044
CriesofCarrots wants to merge 1 commit intosolana-labs:masterfrom
CriesofCarrots:fix-single-bind

Conversation

@CriesofCarrots
Copy link
Copy Markdown
Contributor

Problem

TestValidator doesn't work with the quic client on by default (as in #26927, for example); namely, transaction send attempts time out. This is because the ContactInfo assignment for a TestValidator (in Node::new_single_bind) uses different port logic than what the client expects (quic offsets are hard-coded in the client).

Summary of Changes

Fix Node::new_single_bind() to use the same port-assignment logic as Node::new_with_external_ip

cc @willhickey -- feel free to rebase #26927 on this to hopefully get further.

@CriesofCarrots CriesofCarrots added the CI Pull Request is ready to enter CI label Aug 9, 2022
@solana-grimes solana-grimes removed the CI Pull Request is ready to enter CI label Aug 9, 2022
@mergify mergify Bot closed this in #27046 Aug 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants