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

KarpelesLab / libwallet / 29877384959
25%

Build:
DEFAULT BRANCH: master
Ran 21 Jul 2026 11:34PM 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

21 Jul 2026 11:31PM UTC coverage: 24.646% (+0.03%) from 24.612%
29877384959

push

github

MagicalTux
rust: swap OKX proxy auths with clientId (Sec-ClientId), not _sign

The app doesn't sign these requests. OKX proxy calls (Crypto/Okx:*) need
only the app's clientId in the Sec-ClientId header (Go withClientID) —
there is no request signature and no per-call credential.

Correcting my earlier _sign/ApiKey approach:
- rest.rs: drop the ApiKey/_sign machinery (struct, sign_query, apply_get,
  apply_post) entirely — the app never used it. Add do_get_params (GET with
  params in the `_` arg + Sec-ClientId), reusing the existing clientId POST
  (do_post) for broadcastTransaction.
- swap.rs: quote/execute_evm/execute_solana/okx_broadcast_swap_tx/
  okx_fetch_order_status now take client_id: Option<&str> and route through
  do_get_params/do_post. No more KeyId/Secret/ApiKey.
- handlers/swap.rs: drop the KeyId/Secret params; source the clientId from
  config_get("walletinfo:clientId") (set via Info:setWalletInfo), same as
  reshare/walletsign.
- Delete tests/rest_auth.rs (tested the removed _sign). Swap tests pass
  client_id.

339 Rust tests + 64/64 Dart, 0 warnings.

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

5034 of 20425 relevant lines covered (24.65%)

94.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29877384959.1 21 Jul 2026 11:34PM UTC 131
24.65
GitHub Action Run
Source Files on build 29877384959
  • Tree
  • List 131
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29877384959
  • 6f1fba31 on github
  • Prev Build on master (#29804495121)
  • Next Build on master (#29924136545)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc