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

chore_: move waku interface out of eth-node #6244

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

osmaczko
Copy link
Contributor

Waku interface does not belong to eth-node. It has been moved to newly created wakuinterface package.

@status-im-auto
Copy link
Member

status-im-auto commented Jan 10, 2025

Jenkins Builds

Click to see older builds (8)
Commit #️⃣ Finished (UTC) Duration Platform Result
5c78c3a #1 2025-01-10 07:16:11 ~1 min ios 📄log
5c78c3a #1 2025-01-10 07:16:18 ~1 min android 📄log
5c78c3a #1 2025-01-10 07:16:56 ~2 min macos 📄log
5c78c3a #1 2025-01-10 07:17:04 ~2 min linux 📄log
✖️ 5c78c3a #1 2025-01-10 07:17:40 ~3 min tests 📄log
✖️ 5c78c3a #1 2025-01-10 07:17:43 ~3 min tests-rpc 📄log
5c78c3a #1 2025-01-10 07:17:43 ~3 min windows 📄log
5c78c3a #1 2025-01-10 07:20:11 ~5 min macos 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6dc3ce7 #2 2025-01-10 07:38:15 ~3 min windows 📦zip
✔️ 6dc3ce7 #2 2025-01-10 07:40:08 ~5 min linux 📦zip
✔️ 6dc3ce7 #2 2025-01-10 07:40:16 ~5 min macos 📦zip
✔️ 6dc3ce7 #2 2025-01-10 07:40:27 ~5 min android 📦aar
✔️ 6dc3ce7 #2 2025-01-10 07:40:35 ~5 min ios 📦zip
✔️ 6dc3ce7 #2 2025-01-10 07:41:03 ~5 min tests-rpc 📄log
✔️ 6dc3ce7 #2 2025-01-10 07:44:06 ~8 min macos 📦zip
✔️ 6dc3ce7 #2 2025-01-10 08:04:49 ~29 min tests 📄log
✔️ 572bc4f #3 2025-01-16 22:48:56 ~3 min macos 📦zip
✔️ 572bc4f #3 2025-01-16 22:49:31 ~4 min ios 📦zip
✔️ 572bc4f #3 2025-01-16 22:50:05 ~4 min windows 📦zip
✔️ 572bc4f #3 2025-01-16 22:50:48 ~5 min linux 📦zip
✔️ 572bc4f #3 2025-01-16 22:50:59 ~5 min macos 📦zip
✔️ 572bc4f #3 2025-01-16 22:51:32 ~6 min android 📦aar
✖️ 572bc4f #3 2025-01-16 22:52:12 ~6 min tests-rpc 📄log
✖️ 572bc4f #3 2025-01-16 23:16:56 ~31 min tests 📄log
✔️ 572bc4f #4 2025-01-17 07:55:40 ~6 min tests-rpc 📄log
✔️ 572bc4f #4 2025-01-17 08:16:47 ~27 min tests 📄log

@osmaczko osmaczko force-pushed the chore/whisper-cleanup branch from 5c78c3a to 6dc3ce7 Compare January 10, 2025 07:34
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 69.11765% with 84 lines in your changes missing coverage. Please review.

Project coverage is 61.56%. Comparing base (4a5a338) to head (572bc4f).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
protocol/messenger_communities.go 0.00% 7 Missing ⚠️
waku/bridge/envelope_error.go 0.00% 7 Missing ⚠️
services/ext/api.go 57.14% 6 Missing ⚠️
waku/bridge/waku.go 53.84% 6 Missing ⚠️
protocol/communities/manager_archive.go 28.57% 5 Missing ⚠️
protocol/messenger_mailserver.go 54.54% 5 Missing ⚠️
waku/bridge/envelope_event.go 37.50% 5 Missing ⚠️
protocol/communities/persistence.go 55.55% 4 Missing ⚠️
protocol/transport/transport.go 76.47% 4 Missing ⚠️
waku/bridge/wakuv2.go 71.42% 4 Missing ⚠️
... and 22 more
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #6244   +/-   ##
========================================
  Coverage    61.55%   61.56%           
========================================
  Files          842      842           
  Lines       110604   110604           
========================================
+ Hits         68086    68096   +10     
- Misses       34562    34569    +7     
+ Partials      7956     7939   -17     
Flag Coverage Δ
functional 21.68% <29.41%> (+0.17%) ⬆️
unit 60.05% <68.01%> (-0.05%) ⬇️

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

Files with missing lines Coverage Δ
api/geth_backend.go 54.23% <100.00%> (ø)
db/history.go 68.96% <100.00%> (ø)
eth-node/bridge/geth/node.go 24.24% <100.00%> (ø)
eth-node/types/node.go 100.00% <ø> (ø)
mailserver/db_key.go 100.00% <100.00%> (ø)
mailserver/mailserver_db_leveldb.go 64.66% <100.00%> (ø)
node/status_node_services.go 71.19% <100.00%> (ø)
protocol/common/message_segmentation.go 72.30% <100.00%> (ø)
protocol/common/message_sender.go 69.95% <100.00%> (-0.28%) ⬇️
protocol/common/raw_messages_persistence.go 84.82% <100.00%> (+0.61%) ⬆️
... and 52 more

... and 25 files with indirect coverage changes

Copy link
Collaborator

@igor-sirotin igor-sirotin left a comment

Choose a reason for hiding this comment

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

👍 Again, definitely need an approval from @richard-ramos

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure if wakuinterface is a good naming. If it's always waku, then what's the point describing it as interface, we can use it directly, right?
Perhaps transport would be a better name?

Copy link
Collaborator

@igor-sirotin igor-sirotin Jan 10, 2025

Choose a reason for hiding this comment

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

Recently I started to add new files into ./internal directory, as a step to follow Standard Go Project Layout.
Do you think we could do the same for this PR? It could maybe fall under ./pkg directory though, not sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will postpone using ./internal for now, if you don't mind. I plan to consolidate everything once I have resolved all the waku <-> eth-node dependencies.

Copy link
Member

@richard-ramos richard-ramos left a comment

Choose a reason for hiding this comment

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

I like the idea of moving the waku interface out of eth-node but not the new name wakuinterface. I just wonder if we could instead rename the package waku to wakuv1 instead, and use waku instead of wakuinterface.

In any case, i'm approving it since the change is good, and my suggestion is just nitpicking :)

@richard-ramos
Copy link
Member

Copy link
Contributor

@chaitanyaprem chaitanyaprem left a comment

Choose a reason for hiding this comment

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

LGTM

@osmaczko osmaczko force-pushed the chore/whisper-cleanup branch from 6dc3ce7 to 572bc4f Compare January 16, 2025 22:45
@osmaczko osmaczko merged commit 67134d9 into develop Jan 17, 2025
18 of 19 checks passed
@osmaczko osmaczko deleted the chore/whisper-cleanup branch January 17, 2025 09:14
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.

6 participants