Closed fasmat closed 5 days ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 79.9%. Comparing base (
f4de865
) to head (72a9e80
). Report is 2 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
bors merge
Motivation
Instead of returning an empty account when an address wasn't found in the DB return
sql.ErrNotFound
Description
At the moment
Latest
andGet
always return atypes.Account{}
andnil
error if the given address wasn't found. With this change the two functions instead returnsql.ErrNotFound
as error.Test Plan
existing tests pass
TODO