Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

As we support no-std for lightning-invoice builds, we should support them in c_bindings as well, which we add a test for in CI here.

Ugh, yet another one...hopefully the last...

@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2022

Codecov Report

Base: 90.75% // Head: 90.78% // Increases project coverage by +0.03% 🎉

Coverage data is based on head (6d3be34) compared to base (5b5908a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@                 Coverage Diff                  @@
##           0.0.111-bindings    #1741      +/-   ##
====================================================
+ Coverage             90.75%   90.78%   +0.03%     
====================================================
  Files                    86       86              
  Lines                 46530    46530              
  Branches              46530    46530              
====================================================
+ Hits                  42228    42243      +15     
+ Misses                 4302     4287      -15     
Impacted Files Coverage Δ
lightning-invoice/src/utils.rs 94.85% <ø> (ø)
lightning/src/chain/onchaintx.rs 94.02% <0.00%> (-0.92%) ⬇️
lightning/src/ln/channelmanager.rs 85.00% <0.00%> (+0.02%) ⬆️
lightning/src/chain/channelmonitor.rs 91.23% <0.00%> (+0.05%) ⬆️
lightning/src/ln/monitor_tests.rs 99.55% <0.00%> (+0.11%) ⬆️
lightning/src/ln/functional_tests.rs 97.06% <0.00%> (+0.19%) ⬆️
lightning/src/ln/payment_tests.rs 98.82% <0.00%> (+0.26%) ⬆️
lightning/src/chain/mod.rs 68.18% <0.00%> (+4.54%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems the TestScorer also needs updating:

fn write<W: lightning::util::ser::Writer>(&self, _: &mut W) -> Result<(), std::io::Error> { unreachable!(); }

LGTM other than that.

As we support `no-std` for `lightning-invoice` builds, we should
support them in `c_bindings` as well, which we add a test for in
CI here.
@TheBlueMatt TheBlueMatt force-pushed the 2022-09-invoice-bindings-nostd-111 branch from 6d3be34 to a126a4e Compare September 26, 2022 10:38
Copy link
Contributor

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, if CI passes.

@valentinewallace valentinewallace merged commit fb906c3 into lightningdevkit:0.0.111-bindings Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants