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

Fix quic client on TestValidator #27044

Closed

Conversation

CriesofCarrots
Copy link
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 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.

3 participants