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

KarpelesLab / libwallet / 24502820905 / 1
25%
master: 25%

Build:
DEFAULT BRANCH: master
Ran 16 Apr 2026 09:38AM UTC
Files 82
Run time 2s
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

16 Apr 2026 09:30AM UTC coverage: 21.141% (-0.1%) from 21.247%
24502820905.1

push

github

MagicalTux
Solana ed25519 pubkey self-heal: fix type assertion + pre-flight repair

The self-heal I added in 2c8b25d had two bugs that kept existing
broken wallets failing:

1. `aopt.Context.(wltintf.Env)` never matched. aopt.Context is a
   plain context.Context (usually *apirouter.Context); Env is
   attached as an object on it. Fixed to use wltintf.GetEnv(ctx) so
   the save + wallet:pubkey_repaired emit actually run.

2. Repair fired mid-TSS, after the tx had already been built from
   the stale acct.Pubkey. Even when a retry would work (fresh acct
   load from DB), the first send still failed. Added a pre-flight
   step in wlttx.signAndSendSolana that:
   - Fetches the wallet,
   - Calls new wltwallet.EnsureEd25519Pubkey (decrypts one key to
     extract the canonical compressed-Y pubkey, compares, patches
     wallet + emits wallet:pubkey_repaired if needed),
   - Patches acct.Pubkey in memory for the current call so the tx
     is built with the correct fee-payer.
   First send succeeds on upgraded wallets; no retry needed.

EnsureEd25519Pubkey is exported so any future Solana signing flow
(direct sign_api, WalletConnect handler, etc.) can call it for the
same free repair.

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

2119 of 10023 relevant lines covered (21.14%)

2.55 hits per line

Source Files on job 24502820905.1
  • Tree
  • List 82
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24502820905
  • 0c1e3552 on github
  • Prev Job for on master (#24501157666.1)
  • Next Job for on master (#24504778004.1)
  • 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