Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shrimalmadhur
Copy link
Contributor

Fixes # .

Motivation

When we run parallel validation from any block other then genesis, we are using bootstrap_balances.json to initialize balances which results into balance mismatch because actual balances in n-1 block might have been updated and we need to use that.

Solution

Add a condition to validation that, bootstrap balances only if startIndex is empty or is genesis block.

Open questions

@shrimalmadhur shrimalmadhur merged commit 11cc4ab into master Dec 8, 2022
@shrimalmadhur shrimalmadhur deleted the madhur/fix-bootstrap-behavior branch December 8, 2022 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants