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

KarpelesLab / libwallet / 28282266885
24%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2026 07:18AM UTC
Jobs 1
Files 129
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

27 Jun 2026 07:16AM UTC coverage: 23.994% (-0.2%) from 24.158%
28282266885

push

github

MagicalTux
wltswap/okx: broadcast swaps through OKX (Solana blockhash fix + EVM MEV)

Route OKX swap broadcasts through OKX's own broadcastTransaction/orderStatus
API instead of broadcasting from the wallet.

Solana: broadcast via Crypto/Okx:broadcastTransaction (base64 signedTx)
instead of a direct sendTransaction to our RPC. OKX's node knows the
blockhash it just embedded, eliminating the node-lag
"Transaction simulation failed: Blockhash not found" preflight rejection
(blockhash valid but our broadcast node hadn't observed it yet). Adds a
bounded retry (3x) that re-fetches the swap tx with a FRESH blockhash,
re-signs, and re-broadcasts on a blockhash/expiry error — no new user
approval since the keys are already in hand. The txid comes from the
spliced slot-0 signature, so the explorer link needs no polling.

EVM: sign locally and broadcast through OKX with enableMevProtection on
(safe to enable unconditionally — OKX ignores it on incompatible chains).
Refactors SignAndSend's EVM tail into a shared signEVM core and adds
Transaction.SignEVMRaw (sign without broadcasting) so the raw signed tx can
be handed to OKX; existing direct-broadcast callers are unchanged.

Also: solanaSplicingSignLocal returns the signature (for the local txid)
and logs sign duration on success; SwapResult gains OrderId so the host can
poll Crypto/Okx:orderStatus for final settlement.

CHANGELOG entry for 0.4.69 (pubspec bump deferred to release after CI green).

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

0 of 181 new or added lines in 3 files covered. (0.0%)

3 existing lines in 2 files now uncovered.

4560 of 19005 relevant lines covered (23.99%)

98.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
123
22.93
-5.57% wltswap/okx.go
46
0.0
0.0% wlttx/transaction.go
12
40.63
-0.43% wltswap/solana_util.go

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% wlttx/transaction.go
1
22.93
-5.57% wltswap/okx.go
Jobs
ID Job ID Ran Files Coverage
1 28282266885.1 27 Jun 2026 07:18AM UTC 129
23.99
GitHub Action Run
Source Files on build 28282266885
  • Tree
  • List 129
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28282266885
  • 92390203 on github
  • Prev Build on master (#28007199480)
  • Next Build on master (#28283157661)
  • 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