Skip to content

encapsulate api cache to a class

Codecov / codecov/project succeeded Nov 4, 2024 in 0s

78.04% (+0.11%) compared to df76528

View this Pull Request on Codecov

78.04% (+0.11%) compared to df76528

Details

Codecov Report

Attention: Patch coverage is 94.62366% with 5 lines in your changes missing coverage. Please review.

Project coverage is 78.04%. Comparing base (df76528) to head (95b49d3).

Files with missing lines Patch % Lines
packages/eth-providers/src/base-provider.ts 95.94% 3 Missing ⚠️
packages/eth-providers/src/utils/parseBlock.ts 71.42% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1039      +/-   ##
==========================================
+ Coverage   77.92%   78.04%   +0.11%     
==========================================
  Files          54       55       +1     
  Lines        2718     2719       +1     
  Branches      635      631       -4     
==========================================
+ Hits         2118     2122       +4     
+ Misses        587      584       -3     
  Partials       13       13              
Files with missing lines Coverage Δ
packages/eth-providers/src/utils/ApiAtCache.ts 100.00% <100.00%> (ø)
packages/eth-providers/src/utils/utils.ts 83.74% <ø> (ø)
packages/eth-rpc-adapter/src/wrapped-provider.ts 94.73% <ø> (ø)
packages/eth-providers/src/utils/parseBlock.ts 95.40% <71.42%> (-2.19%) ⬇️
packages/eth-providers/src/base-provider.ts 83.61% <95.94%> (-0.29%) ⬇️

... and 1 file with indirect coverage changes