Before this PR, in TestIsPeriodBlock and TestIsTrippEffective, the chain of blocks is inserted while it still includes some previously inserted blocks, causing the below error when running on path scheme.
Potential reason:
[To be updated]...
This PR is to fix it by only inserting newly created blocks.
This PR is originated from https://github.com/axieinfinity/ronin/pull/612
Before this PR, in
TestIsPeriodBlock
andTestIsTrippEffective
, the chain of blocks is inserted while it still includes some previously inserted blocks, causing the below error when running on path scheme.Potential reason:
[To be updated]...
This PR is to fix it by only inserting newly created blocks.
Run test before this PR
Run test after this PR