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

Enable exponential backoff for AuRa #480

Merged
merged 4 commits into from
May 27, 2024

Conversation

keithtensor
Copy link
Contributor

This PR enables exponential backoff for the block authoring gadget AuRa. It uses the default backoff settings, i.e. it never waits more than 100 blocks before authoring, it starts considering backing off after 50 or more unfinalized blocks, and it is biased to consider the unfinalized head suffix length to grow half as fast as in actuality.

@keithtensor keithtensor requested a review from a team May 27, 2024 12:49
@distributedstatemachine distributedstatemachine merged commit 38ea19d into development May 27, 2024
11 checks passed
@distributedstatemachine distributedstatemachine deleted the enable-exponential-backoff branch May 27, 2024 15:33
@gztensor
Copy link
Contributor

Wow, this is great we have it now! How do we test exponential backup? Should we add some enormous size test migration?

@distributedstatemachine
Copy link
Contributor

Wow, this is great we have it now! How do we test exponential backup? Should we add some enormous size test migration?

@gztensor would be pretty hard to recreate , but keen on ideas. We need a large existing state , with a lot of nodes , similar to finney. Might be worth recreating during the finney dry run, and using a pre v.1 snapshot

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.

None yet

5 participants