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

Support new AluVM serde human-readable serialization #219

Closed dr-orlovsky closed 6 months ago

dr-orlovsky commented 6 months ago

This removes serialization of AluVM code in form of assembly and instead serializes it as a hexadecimal string

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 15.3%. Comparing base (07f0781) to head (9f65259).

:exclamation: Current head 9f65259 differs from pull request most recent head 38a0170. Consider uploading reports for the commit 38a0170 to get more accurate results

Files Patch % Lines
src/schema/script.rs 0.0% 14 Missing :warning:
src/vm/script.rs 0.0% 3 Missing :warning:
src/schema/schema.rs 0.0% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #219 +/- ## ====================================== Coverage 15.2% 15.3% ====================================== Files 33 33 Lines 4250 4249 -1 ====================================== Hits 648 648 + Misses 3602 3601 -1 ``` | [Flag](https://app.codecov.io/gh/RGB-WG/rgb-core/pull/219/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/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RGB-WG) | `15.3% <0.0%> (+<0.1%)` | :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.

dr-orlovsky commented 6 months ago

Closing in favor of #220