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

RCP-240313B, -0326A, pre-0327A: Simplify scripting, support future transformers, remove type systems, make metadata fields multiple #227

Closed dr-orlovsky closed 5 months ago

dr-orlovsky commented 6 months ago

Alternative to https://github.com/RGB-WG/rgb-core/pull/221

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 1.99005% with 197 lines in your changes are missing coverage. Please review.

Project coverage is 14.5%. Comparing base (760b232) to head (df250c0).

:exclamation: Current head df250c0 differs from pull request most recent head 938248b. Consider uploading reports for the commit 938248b to get more accurate results

Files Patch % Lines
src/validation/logic.rs 0.0% 83 Missing :warning:
src/contract/meta.rs 8.3% 22 Missing :warning:
src/validation/state.rs 0.0% 21 Missing :warning:
src/vm/op_contract.rs 0.0% 19 Missing :warning:
src/validation/schema.rs 0.0% 13 Missing :warning:
src/validation/validator.rs 0.0% 8 Missing :warning:
src/schema/state.rs 0.0% 6 Missing :warning:
src/vm/isa.rs 0.0% 6 Missing :warning:
src/contract/operations.rs 0.0% 4 Missing :warning:
src/contract/commit.rs 0.0% 3 Missing :warning:
... and 6 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #227 +/- ## ======================================== + Coverage 14.1% 14.5% +0.4% ======================================== Files 33 30 -3 Lines 4154 3862 -292 ======================================== - Hits 585 559 -26 + Misses 3569 3303 -266 ``` | [Flag](https://app.codecov.io/gh/RGB-WG/rgb-core/pull/227/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/227/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RGB-WG) | `14.5% <2.0%> (+0.4%)` | :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.