Skip to content

Don't make references to std in lightning-invoice in bindings #1740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.

@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2022

Codecov Report

Base: 90.70% // Head: 90.72% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (54fa628) compared to base (3b7859f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1740      +/-   ##
==========================================
+ Coverage   90.70%   90.72%   +0.01%     
==========================================
  Files          87       87              
  Lines       46688    46735      +47     
  Branches    46688    46735      +47     
==========================================
+ Hits        42349    42400      +51     
+ Misses       4339     4335       -4     
Impacted Files Coverage Δ
lightning-invoice/src/payment.rs 89.85% <ø> (ø)
lightning-invoice/src/utils.rs 94.85% <ø> (ø)
lightning/src/chain/onchaintx.rs 94.48% <0.00%> (-1.15%) ⬇️
lightning/src/ln/channelmanager.rs 85.09% <0.00%> (-0.03%) ⬇️
lightning/src/ln/monitor_tests.rs 99.55% <0.00%> (+0.11%) ⬆️
lightning/src/ln/functional_tests.rs 97.03% <0.00%> (+0.13%) ⬆️
lightning/src/util/events.rs 38.40% <0.00%> (+0.26%) ⬆️
lightning/src/util/wakers.rs 89.26% <0.00%> (+2.55%) ⬆️

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.

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 branch from f9df07a to 54fa628 Compare September 26, 2022 10:39
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 7bc52aa into lightningdevkit:main 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