8000 A patch of consensus stability by jiseongnoh · Pull Request #2022 · klaytn/klaytn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

A patch of consensus stability #2022

Closed
wants to merge 3 commits into from
Closed

A patch of consensus stability #2022

wants to merge 3 commits into from

Conversation

jiseongnoh
Copy link
Contributor

Proposed changes

This bug fix enhances 5-validator network stability by increasing the required quorum from 3 to 4, mitigating chain splits. This extends the scope of #1462 to cover 5-validator scenarios.

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

  • Please leave the issue numbers or links related to this PR here.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Copy link
Contributor
@hyeonLewis hyeonLewis left a comment

Choose a reason for hiding this comment

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

You may need to update the working branch to the latest klaytn/dev to pass ci.

@jiseongnoh
Copy link
Contributor Author

You may need to update the working branch to the latest klaytn/dev to pass ci.

Thank you for the information.

Copy link
Contributor
@ian0371 ian0371 left a comment

Choose a reason for hiding this comment

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

Shouldn't this be tested via sync test? It may not be able to process cypress/baobab blocks

@jiseongnoh jiseongnoh closed this Nov 7, 2023
@jiseongnoh
Copy link
Contributor Author

This patch cannot resolve the root issue. A hard fork is required for a proper fix, with quorum calculation to be ceil(2*N)/3 + 1, instead of 2F+1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0