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

lightninglabs / taproot-assets / 10528329850
40%
main: 47%

Build:
Build:
LAST BUILD BRANCH: test/custom_channels_move
DEFAULT BRANCH: main
Ran 23 Aug 2024 03:33PM UTC
Jobs 1
Files 202
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

23 Aug 2024 03:29PM UTC coverage: 40.328% (+0.02%) from 40.306%
10528329850

Pull #1103

github

guggero
multi: copied assets shouldn't inherit locktime from inputs

In this commit, we fix an existing bug related to lock times and split
commitments. Before this commit, if an input had a relative lock time,
then when we went to make the new split assets, we would _copy_ that
value into the split. This isn't correct as the input is
valid/confirmed, so we don't need to copy over the lock time
information.

The prior behavior would cause certain classes of spends to fail, as
we would be validating a new root asset that has no lock time, but the
root asset split inserted into the split commitment would be carrying
the old lock time. When verifying the split, we would set the lock times
of the split to that of the new asset:
https://github.com/lightninglabs/taproot-assets/blob/e893dee87/vm/vm.go#L305-L307.

As we copied over the lock time from the input, we would now effectively
invalid the split commitment.

Fixes https://github.com/lightninglabs/taproot-assets/issues/1099
Pull Request #1103: commitment: splits shouldn't inherit locktime from inputs

10 of 15 new or added lines in 3 files covered. (66.67%)

27 existing lines in 8 files now uncovered.

23972 of 59442 relevant lines covered (40.33%)

55225.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit - 10528329850.1 23 Aug 2024 03:33PM UTC 0
40.33
GitHub Action Run
Source Files on build 10528329850
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #1103
  • PR Base - main (#10516988158)
  • 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