RGB-WG / rgb-core

RGB Core Library: consensus validation for private & scalable client-validated smart contracts on Bitcoin & Lightning
https://spec.rgb.tech
Apache License 2.0
207 stars 52 forks source link

Fix consensus ordering for cross-chains #275

Closed dr-orlovsky closed 2 weeks ago

dr-orlovsky commented 1 month ago

Implementation of RCP-20241013A

Alternative to #274 which takes care of situations where

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 70.49180% with 18 lines in your changes missing coverage. Please review.

Project coverage is 14.2%. Comparing base (7ae9760) to head (5ff9821). Report is 17 commits behind head on master.

Files with missing lines Patch % Lines
src/vm/contract.rs 70.5% 18 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #275 +/- ## ======================================== + Coverage 13.2% 14.2% +1.0% ======================================== Files 29 29 Lines 3883 3938 +55 ======================================== + Hits 513 558 +45 - Misses 3370 3380 +10 ``` | [Flag](https://app.codecov.io/gh/RGB-WG/rgb-core/pull/275/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RGB-WG) | Coverage Δ | | |---|---|---| | [rust](https://app.codecov.io/gh/RGB-WG/rgb-core/pull/275/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RGB-WG) | `14.2% <70.5%> (+1.0%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RGB-WG#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.