Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Implement updateValidators for DPoS Module #6876

Closed
Tracked by #6722 ...
mehmetegemen opened this issue Nov 2, 2021 · 0 comments
Closed
Tracked by #6722 ...

Implement updateValidators for DPoS Module #6876

mehmetegemen opened this issue Nov 2, 2021 · 0 comments
Assignees
Milestone

Comments

@mehmetegemen
Copy link
Contributor

Description

Create a private function in the DPoS module for afterBlockExecute hook to use it and implement the logic in an auxiliary function that is reusable and call it in that private function. Also create constants, adjust interfaces and add tests. Also adjust other auxiliary functions that this function going to use for new interfaces.

In this function the logic is about updating validator list with randomSeed that we get from randomAPI and setting BFT parameters with BFT API. See old code for the responsibility of the code and LIP for new adjustments needed to be done to use new modules.

Acceptance Criteria

  • Unit tests must pass

Additional Information

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

No branches or pull requests

2 participants