LimeChain / hashport-validator

Official repository containing the source code of the Hashport validators
Apache License 2.0
23 stars 11 forks source link

Added error when there are no rows updated with a new status #883

Closed rokn closed 1 year ago

rokn commented 1 year ago

Detailed description: This adds an error when the DB doesn't update a transaction with a new status(or updates multiple ones)

Special notes for your reviewer:

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #883 (8224ba8) into main (52de06d) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #883      +/-   ##
==========================================
+ Coverage   63.81%   63.82%   +0.01%     
==========================================
  Files          84       84              
  Lines        6437     6439       +2     
==========================================
+ Hits         4108     4110       +2     
  Misses       2126     2126              
  Partials      203      203              
Flag Coverage Δ
unittests 63.82% <100.00%> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
app/persistence/transfer/transfer.go 87.57% <100.00%> (+0.14%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.