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

test: add test for header stage two step download #843

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

lambdaclass-user
Copy link
Contributor

Linked: #418

This PR adds a test for HeaderStage where more than commit_threshold headers are downloaded, requiring a second call to HeaderStage::execute.

@onbjerg onbjerg added C-test A change that impacts how or what we test A-networking Related to networking in general labels Jan 13, 2023
@onbjerg
Copy link
Member

onbjerg commented Jan 13, 2023

Hey! When opening up a PR that closes an issue, you can use special words to link the PR and the issue, which auto-closes the issue when it is merged. For example:

Closes #418 or fixes #418

We would also appreciate adding a small comment on the issue when starting work on it so we can assign the issues: it helps communicate what is up for grabs! Unfortunately, GitHub does not allow us to assign without the comment first.

It helps keep the issue tracker clean 😄 Thanks for taking this on!

@MegaRedHand
Copy link
Contributor

Sorry for that! Will do!

Copy link
Member

@gakonst gakonst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work and thanks for the extra information!

@gakonst gakonst merged commit a1c8a34 into paradigmxyz:main Jan 13, 2023
@lambdaclass-user lambdaclass-user deleted the test-headers-commit branch January 16, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-networking Related to networking in general C-test A change that impacts how or what we test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test that ensures the committing happens correctly inside Headers Stage
4 participants