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(papyrus_p2p_sync): tx and state_diff tests wait for headers sync #3891

Open
wants to merge 1 commit into
base: noam.s/test_papyrus_p2p_sync_fix_class_from_syncing_before_state_diff_finishes
Choose a base branch
from

Conversation

noamsp-starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

noamsp-starkware commented Feb 2, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@noamsp-starkware noamsp-starkware force-pushed the noam.s/fix_papyrus_p2p_sync_Tx_state_diff_tests_wait_for_headers_sync branch from f1d2327 to ac87ca5 Compare February 2, 2025 20:58
@noamsp-starkware noamsp-starkware marked this pull request as ready for review February 2, 2025 20:58
@noamsp-starkware noamsp-starkware force-pushed the noam.s/fix_papyrus_p2p_sync_Tx_state_diff_tests_wait_for_headers_sync branch from ac87ca5 to 585542f Compare February 2, 2025 22:37
@noamsp-starkware noamsp-starkware changed the title fix(papyrus_p2p_sync): Tx & state_diff tests wait for headers sync fix(papyrus_p2p_sync): Tx and state_diff tests wait for headers sync Feb 2, 2025
@noamsp-starkware noamsp-starkware force-pushed the noam.s/fix_papyrus_p2p_sync_Tx_state_diff_tests_wait_for_headers_sync branch from 585542f to 6dbe3ca Compare February 2, 2025 22:39
@noamsp-starkware noamsp-starkware changed the title fix(papyrus_p2p_sync): Tx and state_diff tests wait for headers sync fix(papyrus_p2p_sync): tx and state_diff tests wait for headers sync Feb 2, 2025
Copy link
Contributor

@ShahakShama ShahakShama left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @noamsp-starkware)


crates/papyrus_p2p_sync/src/client/transaction_test.rs line 47 at r1 (raw file):

    ];

    // Sleep so transaction sync will wait for new data

Same


crates/papyrus_p2p_sync/src/client/state_diff_test.rs line 106 at r1 (raw file):

    ];

    // Sleep so state diff sync will wait for new data

will reach the sleep waiting for new data

@noamsp-starkware noamsp-starkware force-pushed the noam.s/test_papyrus_p2p_sync_fix_class_from_syncing_before_state_diff_finishes branch from e6d9b3f to 28c4a58 Compare February 3, 2025 08:35
@noamsp-starkware noamsp-starkware force-pushed the noam.s/fix_papyrus_p2p_sync_Tx_state_diff_tests_wait_for_headers_sync branch from 6dbe3ca to ab553d2 Compare February 3, 2025 08:35
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