Skip to content

test(jsonrpc): add more server tests

553042a
Select commit
Loading
Failed to load commit list.
Open

refactor: Use sonic for JSON un/marshaling #3588

test(jsonrpc): add more server tests
553042a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 11, 2026 in 1s

76.00% (target 70.00%)

View this Pull Request on Codecov

76.00% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 77.33333% with 68 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.00%. Comparing base (60ecba4) to head (553042a).

Files with missing lines Patch % Lines
jsonrpc/server.go 88.33% 11 Missing and 10 partials ⚠️
clients/feeder/feeder.go 7.69% 1 Missing and 11 partials ⚠️
rpc/rpccore/limit_slice.go 73.68% 2 Missing and 3 partials ⚠️
rpc/v10/block_id.go 0.00% 4 Missing ⚠️
rpc/v10/simulation.go 0.00% 4 Missing ⚠️
rpc/v10/transaction.go 50.00% 1 Missing and 2 partials ⚠️
rpc/v10/sync.go 0.00% 2 Missing ⚠️
rpc/v8/sync.go 0.00% 2 Missing ⚠️
rpc/v8/transaction.go 66.66% 0 Missing and 2 partials ⚠️
rpc/v9/sync.go 0.00% 2 Missing ⚠️
... and 9 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3588      +/-   ##
==========================================
+ Coverage   75.81%   76.00%   +0.18%     
==========================================
  Files         387      388       +1     
  Lines       34975    35000      +25     
==========================================
+ Hits        26518    26600      +82     
+ Misses       6595     6530      -65     
- Partials     1862     1870       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.