ethereum / aleth

Aleth – Ethereum C++ client, tools and libraries
GNU General Public License v3.0
3.96k stars 2.18k forks source link

Extend cases when ClientTest::importRawBlock throws exception with a nested detailed error #5872

Closed gumb0 closed 4 years ago

gumb0 commented 4 years ago

Follow-up to https://github.com/ethereum/aleth/pull/5871

This adds similar handling for the case when the initial BlockQueue validation succeeds, but further full validation during block import fails.

codecov-io commented 4 years ago

Codecov Report

Merging #5872 into master will increase coverage by 0.25%. The diff coverage is 93.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5872      +/-   ##
==========================================
+ Coverage   63.99%   64.24%   +0.25%     
==========================================
  Files         365      366       +1     
  Lines       31033    31102      +69     
  Branches     3441     3166     -275     
==========================================
+ Hits        19859    19982     +123     
- Misses       9937     9942       +5     
+ Partials     1237     1178      -59