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.
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 inn-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