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 missed AnchoredBundle type in STL library #177

Closed dr-orlovsky closed 11 months ago

dr-orlovsky commented 11 months ago

This doesn't affect the consensus and just adds a type to the STL compiled library which was missed before. It was caused by a Strict types bug which allows referencing a library from a rust code without checking that it include the referenced types from STL (and not rust) representation.

codecov[bot] commented 11 months ago

Codecov Report

Merging #177 (a5705df) into master (5321fa3) will increase coverage by 0.1%. Report is 7 commits behind head on master. The diff coverage is 100.0%.

@@           Coverage Diff            @@
##           master    #177     +/-   ##
========================================
+ Coverage    12.8%   12.9%   +0.1%     
========================================
  Files          30      30             
  Lines        3079    3081      +2     
========================================
+ Hits          394     397      +3     
+ Misses       2685    2684      -1     
Flag Coverage Δ
rust 12.9% <100.0%> (+0.1%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/stl.rs 100.0% <100.0%> (ø)

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

dr-orlovsky commented 11 months ago

Superseded by https://github.com/RGB-WG/rgb-core/pull/183