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

KarpelesLab / libwallet / 24973542192
24%

Build:
DEFAULT BRANCH: master
Ran 27 Apr 2026 02:30AM UTC
Jobs 1
Files 111
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 Apr 2026 01:05AM UTC coverage: 20.111% (-0.08%) from 20.191%
24973542192

push

github

MagicalTux
wlttx: SignAndSend auto-validates so EVM fees / nonce / gas land

Sending ETH via Transaction:signAndSend without first calling
Transaction:validate failed with "invalid maxFeePerGas" — the
fee-population block lived only inside Validate, so a Dart caller
that built an UnsignedTransaction and shipped it straight to
signAndSend reached encodeTx with empty MaxFeePerGas / Nonce /
Gas. The existing comment at line 537-539 acknowledged the gap
("callers can reach signAndSend without going through validate
first") but only fixed the fee BACKFILL post-signing.

Now: SignAndSend auto-runs Validate as its first step. Validate's
field-population is idempotent (every write is gated on `if field
== ""` / `if field == 0`), so callers that already validated
incur no behaviour change — just one extra DB hit for the
acct/network resolution which is also done explicitly below.

Side benefit: erc20_transfer's To/Data rewrite (which only
happened inside Validate) now also fires on the signAndSend-only
path, fixing a latent bug where ERC-20 transfers built in Dart
without an explicit validate call would have signed with the
caller's recipient address as the `to` field instead of the
token contract.

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

0 of 3 new or added lines in 1 file covered. (0.0%)

108 existing lines in 1 file now uncovered.

2982 of 14828 relevant lines covered (20.11%)

128.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
0.0
0.0% wlttx/transaction.go

Coverage Regressions

Lines Coverage ∆ File
108
15.08
-4.31% wltswap/swap.go
Jobs
ID Job ID Ran Files Coverage
1 24973542192.1 27 Apr 2026 02:30AM UTC 111
20.11
GitHub Action Run
Source Files on build 24973542192
  • Tree
  • List 111
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24973542192
  • 38d4456f on github
  • Prev Build on master (#24950265921)
  • Next Build on master (#24973849007)
  • 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