Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add indexer tests #115

Merged
merged 16 commits into from
Dec 3, 2024

fix default value

68ce4c2
Select commit
Loading
Failed to load commit list.
Merged

feat: add indexer tests #115

fix default value
68ce4c2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 2, 2024 in 0s

56.79% (+16.11%) compared to 9bcc1da

View this Pull Request on Codecov

56.79% (+16.11%) compared to 9bcc1da

Details

Codecov Report

Attention: Patch coverage is 68.83117% with 24 lines in your changes missing coverage. Please review.

Project coverage is 56.79%. Comparing base (9bcc1da) to head (68ce4c2).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
app/app.go 40.00% 4 Missing and 2 partials ⚠️
app/upgrade.go 0.00% 6 Missing ⚠️
app/ante/fee.go 66.66% 2 Missing and 1 partial ⚠️
indexer/abci.go 0.00% 2 Missing and 1 partial ⚠️
indexer/mempool.go 0.00% 2 Missing ⚠️
jsonrpc/namespaces/eth/api.go 0.00% 2 Missing ⚠️
x/evm/config/config.go 33.33% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main     #115       +/-   ##
===========================================
+ Coverage   40.68%   56.79%   +16.11%     
===========================================
  Files         108      108               
  Lines        9970     9914       -56     
===========================================
+ Hits         4056     5631     +1575     
+ Misses       5336     3471     -1865     
- Partials      578      812      +234     
Files with missing lines Coverage Δ
app/indexer.go 40.90% <100.00%> (ø)
app/test_helpers.go 81.44% <100.00%> (+1.44%) ⬆️
indexer/indexer.go 88.15% <100.00%> (+88.15%) ⬆️
indexer/reader.go 61.70% <100.00%> (+61.70%) ⬆️
jsonrpc/backend/feehistory.go 59.64% <100.00%> (+59.64%) ⬆️
jsonrpc/backend/tx.go 53.98% <100.00%> (+53.98%) ⬆️
jsonrpc/namespaces/eth/filters/api.go 88.79% <100.00%> (+88.79%) ⬆️
jsonrpc/types/tx.go 90.32% <100.00%> (+0.32%) ⬆️
indexer/mempool.go 63.88% <0.00%> (+63.88%) ⬆️
jsonrpc/namespaces/eth/api.go 5.09% <0.00%> (+5.09%) ⬆️
... and 5 more

... and 27 files with indirect coverage changes