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

KarpelesLab / libwallet / 27496480182
23%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2026 10:52AM UTC
Jobs 1
Files 128
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 Jun 2026 10:50AM UTC coverage: 23.418% (+1.1%) from 22.349%
27496480182

push

github

MagicalTux
fix CI: nil-guard Transaction.Validate + restore -short + tolerate RPC flakes

Three independent CI red causes after 0.4.56:

1. `Transaction.Validate` crashed with a nil-pointer panic for `transfer`
   and `solana_transfer`/`solana_spl_transfer` when `tx.Amount` was nil.
   The `erc20_transfer` and `bitcoin_transfer` branches already guarded
   with `tx.Amount == nil`; the two missing branches now do the same. The
   dart integration test "Transaction validate (missing fields returns
   error)" was hitting this path on every run — the panic was caught by
   apirouter and converted to a 500, which the test happened to swallow,
   but the panic itself was real.

2. `TestNftMetadata` was failing in the Tests workflow because commit
   dad66cd dropped the `-short` flag from the `go test` line. The test
   has `if testing.Short() { t.Skip(...) }` precisely because it depends
   on an external Ethereum contract still implementing tokenURI/uri/
   contractURI — without `-short` it runs against live RPC and breaks
   when the contract is upgraded or proxied. Restoring `-short` skips
   only this one test (it's the only one that consults `testing.Short()`).

3. The dart `Asset list` integration tests assumed `eth_getBalance`
   always succeeds. Infura periodically returns `-32603 Internal error`
   and we don't control that. Wrapped both tests in the same
   `try/catch on LibwalletException` pattern the testRpc and simulation
   tests already use — the contract decode still asserts correctness,
   transient upstream-RPC failures don't fail the build.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

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

79 existing lines in 2 files now uncovered.

4382 of 18712 relevant lines covered (23.42%)

101.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
0.0
0.0% wlttx/transaction.go

Coverage Regressions

Lines Coverage ∆ File
62
50.28
22.59% wltwallet/walletkey.go
17
44.69
10.61% wltwallet/broker.go
Jobs
ID Job ID Ran Files Coverage
1 27496480182.1 14 Jun 2026 10:52AM UTC 128
23.42
GitHub Action Run
Source Files on build 27496480182
  • Tree
  • List 128
  • Changed 7
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27496480182
  • c8c430a1 on github
  • Prev Build on master (#27490955804)
  • Next Build on master (#27497601605)
  • 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