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

lightninglabs / taproot-assets / 11525166358
41%
main: 57%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-1913-46bebd3a34518c96f58957c2cb9c91e18cfdf1cf
DEFAULT BRANCH: main
Ran 25 Oct 2024 08:48PM UTC
Jobs 1
Files 207
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

25 Oct 2024 08:43PM UTC coverage: 40.388% (-0.01%) from 40.399%
11525166358

Pull #1157

github

ffranr
rfq: validate in-flight HTLC asset amounts against HTLC out msat

Update `AssetPurchasePolicy` to include an asset specifier, which is
used to select and sum asset balances in an in-flight HTLC. This ensures
the outgoing msat amount of the HTLC is not less than the incoming Tap
asset amount in msat.

This commit fixes an issue where the asset amount used was incorrectly
set on the policy instead of being derived from the in-flight HTLC.
The erroneous asset amount field in the policy has been removed.
Pull Request #1157: rfqmsg: request fields blip align

41 of 185 new or added lines in 10 files covered. (22.16%)

33 existing lines in 7 files now uncovered.

24435 of 60500 relevant lines covered (40.39%)

58261.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% rfqmsg/buy_request.go
3
65.12
1.03% rfqmsg/records.go
6
94.64
-5.36% rfqmath/fixed_point.go
7
0.0
0.0% tapchannel/aux_traffic_shaper.go
9
0.0
0.0% rfq/order.go
18
0.0
0.0% rfq/negotiator.go
28
0.0
0.0% rfqmsg/sell_request.go
33
40.89
2.38% rfqmsg/request.go
38
78.96
-2.65% asset/asset.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% tapchannel/aux_traffic_shaper.go
2
35.92
-0.41% tapchannel/aux_leaf_signer.go
2
40.89
2.38% rfqmsg/request.go
2
78.96
-2.65% asset/asset.go
3
0.0
0.0% rfqmsg/sell_request.go
4
83.91
-0.53% commitment/tap.go
19
47.09
-3.14% universe/interface.go
Jobs
ID Job ID Ran Files Coverage
1 unit - 11525166358.1 25 Oct 2024 08:48PM UTC 207
40.39
GitHub Action Run
Source Files on build 11525166358
  • Tree
  • List 207
  • Changed 81
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1157
  • PR Base - main (#11479738944)
  • 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

© 2025 Coveralls, Inc