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

Add missing integration test for "genesis block" #7237

Closed
Tracked by #7244
sitetester opened this issue Jun 23, 2022 · 0 comments · Fixed by #8440
Closed
Tracked by #7244

Add missing integration test for "genesis block" #7237

sitetester opened this issue Jun 23, 2022 · 0 comments · Fixed by #8440
Assignees
Milestone

Comments

@sitetester
Copy link
Contributor

sitetester commented Jun 23, 2022

Description

  • if verifyStateRoot() returns true, processing of the genesis block continues
  • if verifyStateRoot() returns false, genesis block is discarded

The stateRoot set in the genesis block does not correspond to the state generated during "Genesis state initialization" and "Genesis state finalization"

  • verifyValidatorsHash() returns true, processing of the genesis block continues
  • verifyValidatorsHash() returns false, genesis block is discarded

validatorHash is not according to the info stored in the BFT module (retrieved by bft.getBFTParameters() )

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

@sitetester sitetester changed the title Add missing integration test "if verifyStateRoot() returns true, processing of the genesis block continues" Add missing integration test for "genesis block" Jun 23, 2022
@Madhulearn Madhulearn added this to the Sprint 94 milestone Apr 24, 2023
@Madhulearn Madhulearn modified the milestones: Sprint 94, Sprint 95 May 9, 2023
@shuse2 shuse2 self-assigned this May 10, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in Lisk SDK Version 6.0.0 May 16, 2023
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.

4 participants