Closed holgerd77 closed 4 years ago
There should be also at least one test confirming the fix being added, so breaking before and passing after.
Analysis here was wrong, this could be solved by an update of the blockchain tests, see https://github.com/ethereumjs/ethereumjs-blockchain/pull/142. Will close.
thanks!
Just wanted to update the
blockchain
library with the newv2.2.2
block version. Tests are currently breaking in the "mismatched chains" section with:This is caused by a triggered case where
dif
is not initialized and can be fixed by initializing diff withvar dif = BN(0)
.This would unfortunately need another
v2.2.3
release on the backport side, we should also make sure that this gets applied tomaster
as well, so there might be the need to open two PRs here (one fix + v2.2.3 release PR branched off from therelease/v2.2.2
backport branch and one just with the fix (TypeScript-adjusted) towardsmaster
.I will unfortunately not find the time to do this, @evertonfraga: not sure, can you jump in here?