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

KarpelesLab / libwallet / 28349920798
25%

Build:
DEFAULT BRANCH: master
Ran 29 Jun 2026 05:08AM UTC
Jobs 1
Files 131
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

29 Jun 2026 05:06AM UTC coverage: 23.531% (-0.07%) from 23.6%
28349920798

push

github

MagicalTux
wltswap: add typed Swap:orderStatus(orderId) settlement poll

Swap:execute reports success the instant OKX ACCEPTS the broadcast — which
is before the tx is validated or landed (OKX returns an orderId for a
garbage payload too), so SwapResult.hash isn't proof of settlement. The
in-execute okxAwaitOrder poll (this release) covers the common case, but a
host that needs to track or re-check settlement had no typed way to do it.

Add Swap:orderStatus: given an orderId (+ optional from/network), resolve
the signing account's on-chain address and query Crypto/Okx:orderStatus,
returning a normalized {orderId, chain, status, txHash, failReason} where
status is pending|success|failed. Refactors the OKX helper into
okxFetchOrderStatus (error-surfacing) + okxOrderStatusOnce (swallowing,
used by the execute poll) + okxTxStatusLabel.

Dart: SwapApi.orderStatus(orderId, {from}) -> SwapOrderStatus with
isPending/isSuccess/isFailed and a poll-loop example.

Part of unreleased 0.4.71.

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

1 of 68 new or added lines in 3 files covered. (1.47%)

4749 of 20182 relevant lines covered (23.53%)

93.11 hits per line

Uncovered Changes

Lines Coverage ∆ File
34
25.6
-2.27% wltswap/swap.go
33
22.15
-1.13% wltswap/okx.go
Jobs
ID Job ID Ran Files Coverage
1 28349920798.1 29 Jun 2026 05:08AM UTC 131
23.53
GitHub Action Run
Source Files on build 28349920798
  • Tree
  • List 131
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28349920798
  • f9b37153 on github
  • Prev Build on master (#28349713075)
  • Next Build on master (#28351528930)
  • 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