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

increase block attestation wait time #2705

Merged
merged 1 commit into from
Jul 6, 2021
Merged

increase block attestation wait time #2705

merged 1 commit into from
Jul 6, 2021

Conversation

arnetheduck
Copy link
Member

We generally send out attestations 250 ms after the block arrives.
Recent efficiency improvements have led to a slightly increased
incidence of "slot 0" issues where attestations are dropped by other
nodes because they have not yet had time to process the block due to
epoch processing taking time.

This PR mitigates the problem by increasing the window between receiving
the block and sending out attestations.

We generally send out attestations 250 ms after the block arrives.
Recent efficiency improvements have led to a slightly increased
incidence of "slot 0" issues  where attestations are dropped by other
nodes because they have not yet had time to process the block due to
epoch processing taking time.

This PR mitigates the problem by increasing the window between receiving
the block and sending out attestations.
@github-actions
Copy link

github-actions bot commented Jul 6, 2021

Unit Test Results

     28 files  ±0     328 suites  ±0   57m 13s ⏱️ ±0s
   636 tests ±0     618 ✔️ ±0    18 💤 ±0  0 ❌ ±0 
3 484 runs  ±0  3 380 ✔️ ±0  104 💤 ±0  0 ❌ ±0 

Results for commit 7825d12. ± Comparison against base commit 7825d12.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@mratsim mratsim left a comment

Choose a reason for hiding this comment

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

Should we apply this delay only for slot 0?

@arnetheduck
Copy link
Member Author

Should we apply this delay only for slot 0?

I wouldn't - it should be quite harmless to wait this much due to the way it's capped, and sometimes the slot slowness happens in other slots

@arnetheduck arnetheduck merged commit 7825d12 into unstable Jul 6, 2021
@arnetheduck arnetheduck deleted the att-cutoff branch July 6, 2021 13:11
arnetheduck added a commit that referenced this pull request Jul 7, 2021
We generally send out attestations 250 ms after the block arrives.
Recent efficiency improvements have led to a slightly increased
incidence of "slot 0" issues  where attestations are dropped by other
nodes because they have not yet had time to process the block due to
epoch processing taking time.

This PR mitigates the problem by increasing the window between receiving
the block and sending out attestations.
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