test: Adjust difficulty if below minimum 0x20000
#803
36.84% of diff hit (target 97.94%)
View this Pull Request on Codecov
36.84% of diff hit (target 97.94%)
Annotations
Check warning on line 54 in test/state/ethash_difficulty.cpp
codecov / codecov/patch
test/state/ethash_difficulty.cpp#L54
Added line #L54 was not covered by tests
Check warning on line 69 in test/state/ethash_difficulty.cpp
codecov / codecov/patch
test/state/ethash_difficulty.cpp#L69
Added line #L69 was not covered by tests
Check warning on line 73 in test/state/ethash_difficulty.cpp
codecov / codecov/patch
test/state/ethash_difficulty.cpp#L73
Added line #L73 was not covered by tests
Check warning on line 80 in test/state/ethash_difficulty.cpp
codecov / codecov/patch
test/state/ethash_difficulty.cpp#L80
Added line #L80 was not covered by tests
Check warning on line 85 in test/state/ethash_difficulty.cpp
codecov / codecov/patch
test/state/ethash_difficulty.cpp#L84-L85
Added lines #L84 - L85 were not covered by tests
Check warning on line 88 in test/state/ethash_difficulty.cpp
codecov / codecov/patch
test/state/ethash_difficulty.cpp#L87-L88
Added lines #L87 - L88 were not covered by tests
Check warning on line 90 in test/state/ethash_difficulty.cpp
codecov / codecov/patch
test/state/ethash_difficulty.cpp#L90
Added line #L90 was not covered by tests
Check warning on line 463 in test/statetest/statetest_loader.cpp
codecov / codecov/patch
test/statetest/statetest_loader.cpp#L461-L463
Added lines #L461 - L463 were not covered by tests