Closed Francesco4203 closed 1 day ago
@Francesco4203 so for clear, that the test is failed related to limit of maxdifflayer logic Pathbase, for Hashbase they still look into the keyvalue for checking rootState by Hash?, so could u verify this limit again? after that add comment in the test for clearing why do we choose this number.
Before this PR, in
TestIsPeriodBlock
andTestIsTrippEffective
, the chain of blocks is inserted while it still includes some previously inserted blocks, potentially cause the following error when running on path scheme:This PR is to fix it by creating a new list of blocks that only contains newly created blocks. Run test after fixing: