celestiaorg / go-header

Go library with all the services needed to request, sync and store blockchain headers.
Apache License 2.0
17 stars 16 forks source link

fix(headertest): Return ErrNotFound in header store if not found #148

Closed renaynay closed 5 months ago

renaynay commented 5 months ago

Self explanatory, found during testing.

codecov-commenter commented 5 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (7277a18) 63.79% compared to head (3149b21) 63.78%.

Files Patch % Lines
headertest/store.go 60.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #148 +/- ## ========================================== - Coverage 63.79% 63.78% -0.02% ========================================== Files 39 39 Lines 3392 3396 +4 ========================================== + Hits 2164 2166 +2 - Misses 1061 1063 +2 Partials 167 167 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.