Closed Incede closed 7 months ago
This PR resolves #9148
Fixed incorrect read of database stream
Under examples app pos-mainchain ./bin/run blockchain hash -d ~/.lisk/pos-mainchain
./bin/run blockchain hash -d ~/.lisk/pos-mainchain
Merging #9150 (5c025f0) into hotfix/6.0.1 (f825978) will increase coverage by 0.00%. The diff coverage is 100.00%.
0.00%
100.00%
did we test this on mainnet data? I think we might need to chunk the data for whole db iteration
With the mainnet data here it takes ~2mins16sec on macOs M1 to complete and produce the output hash.
What was the problem?
This PR resolves #9148
How was it solved?
Fixed incorrect read of database stream
How was it tested?
Under examples app pos-mainchain
./bin/run blockchain hash -d ~/.lisk/pos-mainchain