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

KarpelesLab / libwallet / 24374384223
25%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 12:43AM UTC
Jobs 1
Files 63
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

14 Apr 2026 12:35AM UTC coverage: 27.516% (-0.3%) from 27.838%
24374384223

push

github

MagicalTux
add EIP-1559, ERC-20 transfers, ENS/SNS resolution, Solana devnet fix

## Phase 1: Solana devnet RPC routing
- wltnet/network.go: getRPC() now routes to Helius devnet endpoint when
  chainId == "devnet" (was always using mainnet URL)

## Phase 2: EIP-1559 transaction support
- wlttx/transaction.go: added MaxFeePerGas and MaxPriorityFeePerGas fields
- Validate() auto-selects eip1559 format when chain has HasFeature("EIP1559")
- Populates tip via eth_maxPriorityFeePerGas (fallback: 1 gwei) and maxFee
  from latest block baseFee * 2 + tip
- encodeTx() unified into a single EVM path that handles both legacy and
  eip1559 based on tx.Format
- computeFee() uses maxFeePerGas for eip1559, gasPrice for legacy

## Phase 3: ERC-20 transfers
- New wlttx/erc20.go: encodeERC20Transfer() ABI-encodes transfer(address,uint256)
- New transaction type "erc20_transfer": caller sets Asset=tokenXUID, To=recipient,
  Amount=token amount. Validate() resolves the token, rewrites tx.To to the
  contract address, and sets tx.Data to the transfer call data.
- wlttoken: added exported accessors on token (GetAddress, GetDecimals, GetType)

## Phase 5: ENS + SNS name resolution
- New wltnames package with Names:resolve API
- ENS: namehash + eth_call to registry resolver (EIP-137 compliant)
- SNS: program-derived address + getAccountInfo (basic Bonfida support)
- Auto-detects .eth vs .sol suffix
- Dart: new client.names.resolve() API, NameResolution model

## Build
- build.yml: macOS dylibs now use -headerpad_max_install_names linker flag
  so Dart's native_assets install_name_tool rewriting works
- hook/build.dart: prefer local testserver/liblibwallet.<ext> over
  GitHub Release download during development

## Tests
- wlttx/erc20_test.go: ABI encoding test with known vectors
- wltnames/ens_test.go: EIP-137 namehash test vectors
- dart integration: Name resolution (vitalik.eth) passes end-to-end

Bumps Dart package to 0.3.0.

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

51 of 359 new or added lines in 7 files covered. (14.21%)

3 existing lines in 2 files now uncovered.

1878 of 6825 relevant lines covered (27.52%)

3.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
139
0.0
0.0% wlttx/transaction.go
89
0.0
wltnames/sns.go
43
35.82
wltnames/ens.go
24
11.11
wltnames/api.go
5
52.2
-0.51% wltnet/network.go
4
0.0
0.0% wlttoken/token.go
4
85.71
wlttx/erc20.go

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% wlttx/transaction.go
1
52.2
-0.51% wltnet/network.go
Jobs
ID Job ID Ran Files Coverage
1 24374384223.1 14 Apr 2026 12:43AM UTC 63
27.52
GitHub Action Run
Source Files on build 24374384223
  • Tree
  • List 63
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24374384223
  • ed61d4db on github
  • Prev Build on master (#24373576834)
  • Next Build on master (#24375689045)
  • 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