Skip to content

Conversation

@ffranr
Copy link
Contributor

@ffranr ffranr commented Nov 4, 2025

Enhance proof validation logging to surface both invalid and missing inclusion/exclusion proofs.

Changes:

  • Log p2tr output indexes of inclusion proofs that are invalid or absent.

@coveralls
Copy link

coveralls commented Nov 4, 2025

Pull Request Test Coverage Report for Build 19102093572

Details

  • 13 of 33 (39.39%) changed or added relevant lines in 3 files are covered.
  • 30 unchanged lines in 5 files lost coverage.
  • Overall coverage increased (+6.9%) to 56.428%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tapgarden/caretaker.go 0 1 0.0%
proof/verifier.go 3 22 13.64%
Files with Coverage Reduction New Missed Lines %
tapdb/assets_common.go 2 78.34%
tapdb/mssmt.go 2 91.36%
mssmt/compacted_tree.go 4 78.57%
tapdb/universe.go 4 81.27%
rfq/order.go 18 58.1%
Totals Coverage Status
Change from base Build 19031786416: 6.9%
Covered Lines: 63991
Relevant Lines: 113403

💛 - Coveralls

Enhanced clarity and detail in log and error messages during the
insertion of proofs into the universe. This aids in debugging and
provides better feedback during failures or unexpected states.
@ffranr ffranr marked this pull request as ready for review November 5, 2025 12:32
@ffranr ffranr requested review from darioAnongba and jtobin November 5, 2025 14:46
Copy link
Member

@jtobin jtobin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Looks like a custom channels flake in CI.

Copy link
Contributor

@darioAnongba darioAnongba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ffranr ffranr added this pull request to the merge queue Nov 10, 2025
Merged via the queue into main with commit 632294a Nov 10, 2025
51 of 57 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Taproot-Assets Project Board Nov 10, 2025
@ffranr ffranr deleted the wip/proof-validation-logging branch November 10, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

5 participants