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

KarpelesLab / libwallet
23%

Build:
DEFAULT BRANCH: master
Repo Added 28 Mar 2026 05:11PM UTC
Token yw6jh1UY3Kn6YCjoGnv4AU2zljFryiLec regen
Build 311 Last
Files 128
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • master

14 Jun 2026 01:34PM UTC coverage: 23.416% (-0.03%) from 23.447%
27500506687

push

github

MagicalTux
wltwallet: send protocol=legacy (not eddsa/gg18) on RemoteKey upload + bump 0.4.59

0.4.57 shipped the libwallet-internal dispatch tags ProtocolLegacyEdDSA
("eddsa") and ProtocolLegacyECDSA ("gg18") as the on-wire `protocol`
parameter for legacy RemoteKey uploads. wdrone's loadShare switch
(../wdrone/walletsign.go:173) only recognises four values:

  ""       — legacy (default when the row carries no protocol column)
  "legacy" — same as above, sent explicitly
  "frost"  — modern ed25519 (FROST / RFC 9591)
  "dkls23" — modern secp256k1 (DKLs23)

Anything else lands in the default arm:
  `return fmt.Errorf("unsupported share protocol %q", protocolName)`

So 0.4.57 made every newly-created legacy wallet unreshareable. FROST
and DKLs uploads were already correct.

Fix: extract the (curve, protocol) mapping into wk.uploadCurveProtocol
and return "legacy" for both eddata and sdata cases, matching wdrone's
own reportResult convention (which strips empty/"legacy" before sending
to the policy module). The internal ProtocolLegacyEdDSA /
ProtocolLegacyECDSA constants stay for dispatch — they just never go on
the wire now. New TestUploadCurveProtocol pins the four expected
on-wire shapes so a future refactor can't re-introduce the drift.

Also: reshare_scenarios_test skips on "failed to init remote: context
deadline exceeded" — that pattern is dominated by real-network backend
flakes with the protocol-on-upload fix in place. The
"no payload available" substring (the genuine regression signature)
still fails loud, so a real return of the user-reported bug stays
visible.

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

11 of 12 new or added lines in 1 file covered. (91.67%)

4380 of 18705 relevant lines covered (23.42%)

102.86 hits per line

Relevant lines Covered
Build:
Build:
18705 RELEVANT LINES 4380 COVERED LINES
102.86 HITS PER LINE
Source Files on master
  • Tree
  • List 128
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27500506687 master wltwallet: send protocol=legacy (not eddsa/gg18) on RemoteKey upload + bump 0.4.59 0.4.57 shipped the libwallet-internal dispatch tags ProtocolLegacyEdDSA ("eddsa") and ProtocolLegacyECDSA ("gg18") as the on-wire `protocol` parameter for legacy R... push 14 Jun 2026 01:37PM UTC MagicalTux github
23.42
27497731698 master wltswap: accept base64url OKX Solana tx.data + gate publish on version.dart + bump 0.4.58 OKX's Solana adapter returns `tx.data` as standard base64 for most routes but as base64url (URL-safe `-_` instead of `+/`) for versioned (v0) transactions t... push 14 Jun 2026 11:45AM UTC MagicalTux github
23.45
27497601605 master bump version to 0.4.57 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> push 14 Jun 2026 11:39AM UTC MagicalTux github
23.42
27496480182 master 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` ... push 14 Jun 2026 10:52AM UTC MagicalTux github
23.42
27490955804 master wltwallet: cover reshare with [StoreKey + RemoteKey] vs [Password + RemoteKey] old committee Field-reported regression: a Solana/FROST wallet whose user forgot the Password should be able to reshare authorised by [StoreKey + RemoteKey], rotating ... push 14 Jun 2026 06:44AM UTC MagicalTux github
22.35
27096383372 master wltswap: drop Jupiter/dFlow/1inch + add Swap:countryAvailability + bump 0.4.56 OKX-only cleanup: The legacy Jupiter Ultra, dFlow, and 1inch adapters have been unreached since the OKX migration — left in the tree behind commented RegisterProvider... push 07 Jun 2026 03:14PM UTC MagicalTux github
22.35
27023772732 master fix SPL transfer "Program failed to complete" + simulate CU limit + bump 0.4.55 A user trying to send 1.315764 USDT on 0.4.53 got back: Transaction simulation failed: Error processing Instruction 1: Program failed to complete The mainnet tr... push 05 Jun 2026 03:26PM UTC MagicalTux github
22.5
27018188820 master transfer: SPL Token-2022 with transfer-fee + SPL preflight + bump 0.4.54 Stage 2 of the asset-aware transfer chain. 0.4.53 covered SPL Token-1 (USDT/USDC); this release fills in the remaining holes. Token-2022 (wlttx/solana_token2022.go): - Pro... push 05 Jun 2026 01:40PM UTC MagicalTux github
22.49
27014048686 master transfer: resolve tx.Asset and route SPL/ERC-20 internally + bump 0.4.53 `Transaction.type = "transfer"` was supposed to mean "send this asset" but the Solana sign path ignored tx.Type entirely and built a native SOL transfer regardless. A USDT t... push 05 Jun 2026 12:12PM UTC MagicalTux github
22.42
27005237997 master device transfer: rename confirm/cancel endpoints to single-colon form + bump 0.4.52 The 0.4.51 session-lifetime fix was correct, but the user kept getting LibwalletException(404): Not found on confirmDeviceTransferExport — same symptom, different... push 05 Jun 2026 08:51AM UTC MagicalTux github
21.91
See All Builds (311)

Badge your Repo: libwallet

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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