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

Fast chain syncing is not including genesis block #8188

Closed
Tracked by #7210
shuse2 opened this issue Feb 24, 2023 · 0 comments · Fixed by #8192
Closed
Tracked by #7210

Fast chain syncing is not including genesis block #8188

shuse2 opened this issue Feb 24, 2023 · 0 comments · Fixed by #8192
Assignees
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Feb 24, 2023

Expected behavior

When fast chain switching, when height is less than 2 * number of validators, it should include the genesis block as well

Actual behavior

genesis block is excluded https://github.com/LiskHQ/lisk-sdk/blob/c4c0d57c9dace117901d851bbf96b166d12178ca/framework/src/engine/consensus/synchronizer/fast_chain_switching_mechanism.ts#L270

Steps to reproduce

Run 2 nodes and try to sync before 2 * number of validators height

Which version(s) does this affect? (Environment, OS, etc...)

6.0.0-alpha.14

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

Successfully merging a pull request may close this issue.

2 participants