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

Improvements required by standard and PSBT dependencies #195

Closed dr-orlovsky closed 9 months ago

dr-orlovsky commented 9 months ago

A bunch of improvements which appeared from my work on v0.11 in the depending libraries (not touching the validation code)

codecov[bot] commented 9 months ago

Codecov Report

Attention: 491 lines in your changes are missing coverage. Please review.

Comparison is base (f446eba) 17.3% compared to head (3c3b5bc) 16.6%.

Files Patch % Lines
src/validation/validator.rs 0.0% 207 Missing :warning:
src/contract/anchor.rs 0.8% 129 Missing :warning:
src/contract/seal.rs 0.0% 50 Missing :warning:
src/vm/op_contract.rs 0.0% 44 Missing :warning:
src/validation/consignment.rs 0.0% 14 Missing :warning:
src/vm/isa.rs 0.0% 12 Missing :warning:
src/validation/logic.rs 0.0% 10 Missing :warning:
src/contract/assignments.rs 0.0% 7 Missing :warning:
src/contract/bundle.rs 53.8% 6 Missing :warning:
src/contract/contract.rs 0.0% 5 Missing :warning:
... and 3 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #195 +/- ## ======================================== - Coverage 17.3% 16.6% -0.7% ======================================== Files 31 32 +1 Lines 3491 3677 +186 ======================================== + Hits 604 609 +5 - Misses 2887 3068 +181 ``` | [Flag](https://app.codecov.io/gh/RGB-WG/rgb-core/pull/195/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/195/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RGB-WG) | `16.6% <1.6%> (-0.7%)` | :arrow_down: | 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.