getamis / eth-indexer

An Ethereum project to crawl blockchain states into database
GNU Lesser General Public License v3.0
232 stars 47 forks source link

Use balance diff for total balance #42

Closed countvonzero closed 6 years ago

countvonzero commented 6 years ago

use previous recorded account balances (in db) and current balance (from geth) to calculate diff for total balances

codecov-io commented 6 years ago

Codecov Report

Merging #42 into develop will increase coverage by 0.2%. The diff coverage is 73.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #42     +/-   ##
==========================================
+ Coverage    41.15%   41.36%   +0.2%     
==========================================
  Files           16       16             
  Lines         1747     1772     +25     
==========================================
+ Hits           719      733     +14     
- Misses         965      971      +6     
- Partials        63       68      +5
Impacted Files Coverage Δ
store/account/account.go 77.27% <66.66%> (-1.68%) :arrow_down:
store/transfer_processor.go 68.26% <75%> (-1.87%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dcadf46...c50fe19. Read the comment docs.