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

client,store: use the same data structure for arg/result #62

Closed countvonzero closed 6 years ago

countvonzero commented 6 years ago

when querying geth for erc20/eth balances, reduce memory usage by ~1/2.

codecov-io commented 6 years ago

Codecov Report

Merging #62 into develop will increase coverage by 0.2%. The diff coverage is 45.83%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #62     +/-   ##
==========================================
+ Coverage    40.76%   40.97%   +0.2%     
==========================================
  Files           20       20             
  Lines         1982     1972     -10     
==========================================
  Hits           808      808             
+ Misses        1111     1101     -10     
  Partials        63       63
Impacted Files Coverage Δ
client/balancer.go 0% <0%> (ø) :arrow_up:
store/transfer_processor.go 74.41% <78.57%> (ø) :arrow_up:

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 e4f83cc...da4c86d. Read the comment docs.