Skip to content

Conversation

@zoedberg
Copy link
Member

@zoedberg zoedberg commented Jun 26, 2025

Description

This is a set of fixes that aims to bring RGB 0.11.1 one step closer to production and comes as a result of an intense testing phase.

Fixes

  • Prevent panic in case of invalid global state
  • Detect uncommitted known_transitions in a bundle
  • Detect mismatch between a transition and its id in a bundle
  • AluVM counting operators now return 0 instead of failing if they find nothing

Enhancements

  • Rework TransitionBundle::InputMap: it now supports concealed transitions while ensuring allocations can't be spent twice
  • Enforce ordered bundles in the consignment and transitions within a bundle, enabling a future backwards-compatible upgrade to streaming validation

@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

❌ Patch coverage is 0.76923% with 129 lines in your changes missing coverage. Please review.
✅ Project coverage is 9.6%. Comparing base (bbc63f8) to head (d0c47e1).

Files with missing lines Patch % Lines
src/validation/validator.rs 0.0% 47 Missing ⚠️
src/operation/bundle.rs 3.0% 32 Missing ⚠️
src/operation/operations.rs 0.0% 31 Missing ⚠️
src/vm/op_contract.rs 0.0% 12 Missing ⚠️
src/operation/commit.rs 0.0% 3 Missing ⚠️
src/validation/logic.rs 0.0% 3 Missing ⚠️
src/validation/consignment.rs 0.0% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (0.8%) is below the target coverage (60.0%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff            @@
##           v0.11.1   #293     +/-   ##
========================================
- Coverage      9.8%   9.6%   -0.3%     
========================================
  Files           27     27             
  Lines         2670   2742     +72     
========================================
  Hits           262    262             
- Misses        2408   2480     +72     
Flag Coverage Δ
rust 9.6% <0.8%> (-0.3%) ⬇️

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.

@dr-orlovsky
Copy link
Member

Missed this. Can you please at least provide some comments on what is it? Especially in relation to #292

@zoedberg
Copy link
Member Author

Missed this. Can you please at least provide some comments on what is it? Especially in relation to #292

Sorry we forgot a decription, added it now. Compared to #292, this provides fixes and other changes without dropping existing or desired features.

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.

3 participants