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

Implement BFT module afterGenesisBlockExecute hook #6745

Closed
Tracked by #6742
shuse2 opened this issue Sep 7, 2021 · 1 comment
Closed
Tracked by #6742

Implement BFT module afterGenesisBlockExecute hook #6745

shuse2 opened this issue Sep 7, 2021 · 1 comment

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Sep 7, 2021

Description

Implement afterGenesisBlockExecute as defined.

The BFT Votes substore is initialized as follows:
bftVotes.maxHeightPrevoted = b.height,
bftVotes.maxHeightPrecommitted = b.height,
bftVotes.maxHeightCertified = b.height,
bftVotes.blockBFTInfos is an empty array,
bftVotes.activeValidatorsVoteInfo is an empty array.

Acceptance Criteria

  • Possible scenarios are tested in the unit test

Additional Information

Related issue #6742

@shuse2
Copy link
Collaborator Author

shuse2 commented Sep 8, 2021

Suspended until new genesis block definition is defined.

@shuse2 shuse2 self-assigned this Nov 20, 2021
@shuse2 shuse2 added this to the Sprint 58 milestone Nov 20, 2021
shuse2 added a commit that referenced this issue Nov 24, 2021
@shuse2 shuse2 closed this as completed Nov 24, 2021
@shuse2 shuse2 moved this to Done in Lisk SDK Version 6.0.0 Jan 7, 2022
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