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

KarpelesLab / libwallet / 24787652871
25%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2026 03:47PM UTC
Jobs 1
Files 102
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

22 Apr 2026 03:39PM UTC coverage: 19.876% (-0.2%) from 20.027%
24787652871

push

github

MagicalTux
Web3: rich payload on Connect / AddNetwork / WatchAsset requests

Same "decode it once server-side" philosophy as 5faf897's
TransactionSignRequest + MessageSignRequest, extended to the
three remaining event types.

ConnectRequest now carries:
  - method (eth_requestAccounts / wallet_requestPermissions /
    solana_connect / solana_requestAccounts / mpurse_getAddress)
  - family (evm / solana / bitcoin)
  - availableAccounts (curve-compatible accounts, pre-fetched so
    the picker doesn't have to round-trip accounts.list)
  - alreadyConnectedIds (pre-check connected accounts in the
    picker, or render "Reconnect" instead of "Connect")
  - requestedPermissions (EIP-2255 permission names)

AddNetworkRequest now flags phishing vectors:
  - isKnown (chainId in the static chain registry)
  - knownName (the canonical name — UI compares to network.name
    to detect "chainId 1 proposed with name 'MyMainnet'"
    impersonation)
  - alreadyExists (wallet already has this chain — approval is
    a no-op)
  - nameMismatch convenience getter

WatchAssetRequest gets typed accessors for the EIP-747 shape
(assetType, address, symbol, decimals, image, tokenId) plus
addressLooksInvalid + isAlreadyTracked flags.

No wire-shape breakage: AddNetworkRequest.network still resolves
when the old "Value = Network" shape is fed in (backward-compat
branch in the getter).

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

0 of 105 new or added lines in 2 files covered. (0.0%)

2529 of 12724 relevant lines covered (19.88%)

62.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
89
0.0
wltbase/connect_request.go
16
0.61
-0.01% wltbase/web3.go
Jobs
ID Job ID Ran Files Coverage
1 24787652871.1 22 Apr 2026 03:47PM UTC 102
19.88
GitHub Action Run
Source Files on build 24787652871
  • Tree
  • List 102
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24787652871
  • a5e44e1b on github
  • Prev Build on master (#24787301246)
  • Next Build on master (#24788503792)
  • 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