• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / libwallet / 24830721880
25%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2026 10:48AM UTC
Jobs 1
Files 106
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Apr 2026 10:40AM UTC coverage: 20.0% (-0.03%) from 20.027%
24830721880

push

github

MagicalTux
wltnet: keep modchain handle for modchain_* methods

The freshness picker correctly routed eth_getBalance away from a
stale modchain endpoint, but the same routing broke proprietary
modchain_* RPCs (modchain_assets / modchain_lookupTxoBIP32 /
modchain_historyByAddress) which Infura, publicnode etc. don't
implement and reject with -32601:

  RPC error during modchain_assets:
  jsonrpc error -32601: The method modchain_assets does not exist
  / is not available

(Caught by the test-host integration tests on master.)

Two needs from the same Network:

  - General-purpose calls (eth_getBalance and friends) want the
    freshest responder — modchain when healthy, anything else when
    modchain falls behind. This is the freshness-picker's job.
  - Proprietary modchain_* methods ONLY work on the modchain
    endpoint. Stale modchain_assets just means "missing
    recently-acquired NFTs" — much less harmful than a stale
    balance, and there's no other provider that speaks the call
    anyway.

Add a second `modchainRPC` handle on Network alongside the
freshness-picked `validRPC`. DoRPCCtx checks the method prefix and
routes `modchain_*` to modchainRPC when available, everything else
to validRPC. Bitcoin family shares one handle for both since it
always goes through modchain anyway.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

0 of 21 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

2693 of 13465 relevant lines covered (20.0%)

58.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
36.03
-1.13% wltnet/network.go

Coverage Regressions

Lines Coverage ∆ File
1
36.03
-1.13% wltnet/network.go
Jobs
ID Job ID Ran Files Coverage
1 24830721880.1 23 Apr 2026 10:48AM UTC 106
20.0
GitHub Action Run
Source Files on build 24830721880
  • Tree
  • List 106
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24830721880
  • 45fcde42 on github
  • Prev Build on master (#24829670842)
  • Next Build on master (#24833063430)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc