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

Set async backing velocity to 1 #2705

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Set async backing velocity to 1 #2705

merged 1 commit into from
Mar 13, 2024

Conversation

librelois
Copy link
Collaborator

What does it do?

Set async backing velocity to 1.
For historical reasons, we had set the velocity to 2 because that's what was recommended by parity at the time we developed async backing, and there was no live network with async backing activated at the time.
Now that several live networks (including Asset Hubs) have async backing activated with a velocity of 1, we know that we can reduce this value to 1.

What's more, velocity 2 poses staking reward distribution problems for collators, as each collator can produce two blocks in a row, preventing the next collator from producing its block.

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

Fair rewards distribution for collators.

@librelois librelois added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit breaking Needs to be mentioned in breaking changes labels Mar 13, 2024
Copy link
Contributor

Coverage Report

@@                 Coverage Diff                 @@
##           master   elois-velocity-1     +/-   ##
===================================================
  Coverage   73.44%             73.44%   0.00%     
  Files         229                229             
  Lines       70351              70351             
===================================================
  Hits        51669              51669             
  Misses      18682              18682             
Files Changed Coverage

Coverage generated Wed Mar 13 15:11:42 UTC 2024

@librelois librelois merged commit b2b9dfe into master Mar 13, 2024
33 checks passed
@librelois librelois deleted the elois-velocity-1 branch March 13, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes breaking Needs to be mentioned in breaking changes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants