Skip to content

Conversation

@zoedberg
Copy link
Member

This PR updates the tests to the v0.11 fixes and improvements epic - part 4 (part 1: #30, part 2: #35, part 3: #36).

Part 4 of the epic includes the following fixes/changes:

  • add several consignment validation attack tests and integration tests
  • prevent panic during validation when global state is invalid
  • prevent extra/unrelated known transtions during validation
  • TransitionBundle: change input_map to allow concealing of known transitions
  • manage concealed transitions via PSBT proprietary keys
  • prevent using inputs not in input_map during validation
  • TransitionBundle: change known transitions to allow ordering inside bundle
  • add check for TransitionIdMismatch during validation
  • simplify IFA: allow moving rights via the transfer transition
  • sort bundles in consignment and known transitions in bundles, enforce ordering during validation

Involved PRs:

@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.13%. Comparing base (54004b3) to head (cb1a86a).

Additional details and impacted files
@@             Coverage Diff              @@
##           0.11.1-3      #39      +/-   ##
============================================
+ Coverage     41.09%   42.13%   +1.04%     
============================================
  Files           256      256              
  Lines         37801    38003     +202     
============================================
+ Hits          15535    16014     +479     
+ Misses        22266    21989     -277     
Flag Coverage Δ
rust 42.13% <ø> (+1.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants