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

KarpelesLab / libwallet / 25844804998
24%

Build:
DEFAULT BRANCH: master
Ran 14 May 2026 06:35AM UTC
Jobs 1
Files 117
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

14 May 2026 06:06AM UTC coverage: 21.025% (+0.1%) from 20.895%
25844804998

push

github

MagicalTux
wltnet: Network.AddressUrl + ResolvedBlockExplorer field

Adds the address-URL helper requested for "tap address → open in
explorer" affordances on signing-critical rows (verifying-contract,
ERC-20 effect rows, watch_asset, SIWE, bitcoin IOs). Mirrors
TransactionUrl that 0.4.26 fixed for the cluster-suffix issue —
identical nullability semantics, identical per-chain branching,
identical "" return when no explorer can be resolved.

Refactor pulls the resolved-base computation out of TransactionUrl
into a shared helper (ResolvedBlockExplorer) so AddressUrl reuses it,
and pulls the Solana cluster suffix out into solanaClusterSuffix() so
both helpers share the "?cluster=devnet" logic. TransactionUrl wire
output is unchanged — covered by the existing TestNetworkTransactionUrl
table.

Network.MarshalJSON now embeds ResolvedBlockExplorer so the Dart side
can compose URLs locally without an FFI round trip per render.

Dart Network model gains:
- resolvedBlockExplorer field (read from JSON)
- transactionUrl(hash) and addressUrl(addr) sync helpers that produce
  the same URLs as the Go side using the embedded resolved base
- per-chain branching matches Go (Solana mainnet/mainnet-beta bare,
  devnet/testnet append ?cluster=<id>; "" when no resolved explorer)

Custom networks with no BlockExplorer configured return "" — host
hides the affordance, doesn't guess at the path shape. Matches the
spec's "Custom networks: return empty string" requirement verbatim.

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

38 of 41 new or added lines in 1 file covered. (92.68%)

290 existing lines in 4 files now uncovered.

3412 of 16228 relevant lines covered (21.03%)

117.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
37.89
1.33% wltnet/network.go

Coverage Regressions

Lines Coverage ∆ File
164
12.36
-0.86% wlttx/maxsendable.go
113
0.0
0.0% wlttx/transaction.go
12
95.78
0.5% wltobj/amount.go
1
37.89
1.33% wltnet/network.go
Jobs
ID Job ID Ran Files Coverage
1 25844804998.1 14 May 2026 06:35AM UTC 117
21.03
GitHub Action Run
Source Files on build 25844804998
  • Tree
  • List 117
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25844804998
  • a54b343c on github
  • Prev Build on master (#25830905850)
  • Next Build on master (#25845962249)
  • 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