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

Handle gap_epoch_open_pending block status when bootstrapping #4821

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pwojcikdev
Copy link
Contributor

We can't process blocks that have gap_epoch_open_pending status immediately, but instead need to wait until at least one pending send is available for their account chain. Epoch blocks do not link to the associated send block, so we have no way of pulling the dependency other than randomly sampling the rest of the ledger. Given this the proper behavior when encountering this status is to evict the priority account associated with the epoch open block.

@gr0vity-dev-bot
Copy link

gr0vity-dev-bot commented Jan 7, 2025

Test Results for Commit 9167393

Pull Request 4821: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 110s)
  • 5n4pr_conf_10k_change: PASS (Duration: 150s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 125s)
  • 5n4pr_conf_change_independant: PASS (Duration: 155s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 129s)
  • 5n4pr_conf_send_independant: PASS (Duration: 123s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 109s)
  • 5n4pr_rocks_10k_change: PASS (Duration: 170s)

Last updated: 2025-01-08 13:32:51 UTC

@pwojcikdev pwojcikdev force-pushed the bootstrap-handle-gap-epoch-open branch from a288a3a to 9167393 Compare January 8, 2025 13:29
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.

2 participants