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

Align dependencies with lnp-node e81e693d1a92fc5aef10c423648db43e4b755e97 #404

Merged
merged 15 commits into from
May 27, 2022

Conversation

TheCharlatan
Copy link
Member

@TheCharlatan TheCharlatan commented Feb 21, 2022

The deps are alligned, but parallel swap test does not run yet.

As part of this PR and besides the pure API changes arising from the deps bump I also changed:

  • Peerd raw unencrypted connection to brontide encrypted connection
  • esb::SenderListto Endpoints
  • Renamed senders to the more appropriate endpoints
  • Use esb::Error<ServiceId> instead of esb::Error
  • Use lnp Ping, Error and Init messages instead of our own. This permanently binds us to the lnp::p2p crate

@TheCharlatan TheCharlatan force-pushed the allignDeps branch 2 times, most recently from 4cbdcd8 to 888949d Compare February 21, 2022 23:05
@TheCharlatan
Copy link
Member Author

Needs merge of farcaster-project/farcaster-core#215

@codecov-commenter
Copy link

codecov-commenter commented Feb 27, 2022

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 1.77778% with 221 lines in your changes missing coverage. Please review.

Project coverage is 13.0%. Comparing base (979fe9c) to head (0467b2b).
Report is 1632 commits behind head on main.

Files with missing lines Patch % Lines
src/swapd/runtime.rs 0.0% 101 Missing ⚠️
src/farcasterd/runtime.rs 0.0% 29 Missing ⚠️
src/walletd/runtime.rs 0.0% 27 Missing ⚠️
src/peerd/runtime.rs 0.0% 16 Missing ⚠️
src/service.rs 0.0% 13 Missing ⚠️
src/rpc/request.rs 0.0% 8 Missing ⚠️
src/syncerd/runtime.rs 0.0% 8 Missing ⚠️
src/peerd/opts.rs 0.0% 6 Missing ⚠️
src/error.rs 0.0% 2 Missing ⚠️
src/lib.rs 0.0% 2 Missing ⚠️
... and 7 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #404   +/-   ##
=====================================
  Coverage   13.0%   13.0%           
=====================================
  Files         27      27           
  Lines       7932    7915   -17     
=====================================
- Hits        1031    1030    -1     
+ Misses      6901    6885   -16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TheCharlatan TheCharlatan marked this pull request as ready for review February 27, 2022 22:26
Copy link
Member

@Lederstrumpf Lederstrumpf left a comment

Choose a reason for hiding this comment

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

tACK

@TheCharlatan
Copy link
Member Author

Requires upstream patching in either internet2 or microservices. Tracking in LNP-WG/lnp-node#50

@zkao zkao marked this pull request as draft May 24, 2022 15:55
@TheCharlatan TheCharlatan changed the title Allign dependencies with lnp-node a403e2561ff3f24056ed969f75c4f06f958… Allign dependencies with lnp-node e81e693d1a92fc5aef10c423648db43e4b755e97 May 25, 2022
@TheCharlatan TheCharlatan changed the title Allign dependencies with lnp-node e81e693d1a92fc5aef10c423648db43e4b755e97 Align dependencies with lnp-node e81e693d1a92fc5aef10c423648db43e4b755e97 May 25, 2022
@TheCharlatan
Copy link
Member Author

Seems like the CI decided to pass now, so I'll open it for review.

@TheCharlatan TheCharlatan marked this pull request as ready for review May 27, 2022 10:42
@h4sh3d
Copy link
Member

h4sh3d commented May 27, 2022

Let me push 1 change so the monero functional tests pass with the newest monero-lws:latest. They currently don't because the container crash at startup because the name of a var changed.
After review and merge I can better test #444 and see if there is no real regression.

Copy link
Member

@Lederstrumpf Lederstrumpf left a comment

Choose a reason for hiding this comment

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

tACK @ 0f38acb - thanks for having all your teeth pulled @TheCharlatan! ;)

@@ -39,7 +39,9 @@ required-features = ["server"]

[dependencies]
# Farcaster crates
farcaster_core = { version = "0.4.3", features = ["serde"] }
# farcaster_core = { version = "0.4.4", features = ["serde"] }
farcaster_core = { git = "https://github.com/farcaster-project/farcaster-core", branch = "main", features = ["serde"] }
Copy link
Member

Choose a reason for hiding this comment

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

I just did a release of core so that we don't have this wart anymore, but it failed since we currently have our own fork of secp256kfun in there. But I'm good to merge without this fixed.

Copy link
Member

@h4sh3d h4sh3d May 27, 2022

Choose a reason for hiding this comment

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

I think we can't remove this easily, I'll see if we can upstream the change needed to release core. Agree that we should merge without it.

@TheCharlatan
Copy link
Member Author

I can has merge?

@TheCharlatan TheCharlatan merged commit 917fbc9 into farcaster-project:main May 27, 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