Skip to content
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

Api fixes #1819

Merged
merged 2 commits into from
May 25, 2021
Merged

Api fixes #1819

merged 2 commits into from
May 25, 2021

Conversation

akumaigorodski
Copy link
Contributor

This is a set of follow up fixes for plugin API support.

First commit is important and second one is just a refactoring and code update to remove a deprecation warning.

This will allow plugins to properly initialize before providing their routes.
@codecov-commenter
Copy link

Codecov Report

Merging #1819 (5d321c5) into master (a658fa2) will increase coverage by 0.09%.
The diff coverage is 95.19%.

@@            Coverage Diff             @@
##           master    #1819      +/-   ##
==========================================
+ Coverage   89.29%   89.39%   +0.09%     
==========================================
  Files         143      145       +2     
  Lines       10948    11030      +82     
  Branches      480      466      -14     
==========================================
+ Hits         9776     9860      +84     
+ Misses       1172     1170       -2     
Impacted Files Coverage Δ
...r-core/src/main/scala/fr/acinq/eclair/Eclair.scala 53.14% <ø> (ø)
...scala/fr/acinq/eclair/payment/send/Autoprobe.scala 0.00% <0.00%> (ø)
...nt/src/main/scala/fr/acinq/eclair/FrontSetup.scala 0.00% <0.00%> (ø)
...scala/fr/acinq/eclair/tor/TorProtocolHandler.scala 91.66% <50.00%> (ø)
...scala/fr/acinq/eclair/crypto/WeakEntropyPool.scala 94.73% <94.73%> (ø)
...re/src/main/scala/fr/acinq/eclair/NodeParams.scala 92.69% <100.00%> (ø)
...ir-core/src/main/scala/fr/acinq/eclair/Setup.scala 80.35% <100.00%> (+0.11%) ⬆️
...c/main/scala/fr/acinq/eclair/channel/Channel.scala 86.41% <100.00%> (+0.08%) ⬆️
...src/main/scala/fr/acinq/eclair/crypto/Random.scala 100.00% <100.00%> (ø)
...air/crypto/keymanager/LocalChannelKeyManager.scala 88.63% <100.00%> (ø)
... and 12 more

Copy link
Member

@t-bast t-bast left a comment

Choose a reason for hiding this comment

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

Has this been tested E2E with a plugin?

@akumaigorodski
Copy link
Contributor Author

Yes, it has been.

Copy link
Member

@t-bast t-bast left a comment

Choose a reason for hiding this comment

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

I tested the non-plugin part E2E, LGTM.

@t-bast t-bast merged commit d437ea1 into ACINQ:master May 25, 2021
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.

3 participants