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

Simplify FilterManager #4665

Merged
merged 20 commits into from
Jun 14, 2024
Merged

Simplify FilterManager #4665

merged 20 commits into from
Jun 14, 2024

Conversation

vitvly
Copy link
Contributor

@vitvly vitvly commented Feb 1, 2024

Fixes #4659

After some looking on FilterManager, it appears that it's too complicated. Since the logic for setting specific peers has been removed in favour of automatic selection, i don't actually see any need to maintain any knowledge about particular peers on FilterManager level. Also, maintaining MinPeersForFilter connections for each filter is also out of status-go's purview, i think. Let go-waku handle that.

There are some changes to be made in go-waku as well (will push separately):

  • IsSubscriptionAlive checks have to be smart enough in order to not to issue too many requests to same peers (multiple subs can share identical peers)
  • probably subscription channels returned to status-go have to be multiplexed in case of multiple peers. There should be a 1-to-1 mapping between filters and subscriptions in status-go.

List of other changes to FilterManager:

  • dropped lots of code there
  • async is there only for multiple filters
  • all operations for a single filter occur in a synchronous fashion, in order to guarantee proper ordering.

@vitvly vitvly self-assigned this Feb 1, 2024
@status-im-auto
Copy link
Member

status-im-auto commented Feb 1, 2024

Jenkins Builds

Click to see older builds (191)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 701456b #1 2024-02-01 14:49:47 ~2 min tests 📄log
✔️ 701456b #1 2024-02-01 14:50:10 ~3 min linux 📦zip
✔️ 701456b #1 2024-02-01 14:52:16 ~5 min ios 📦zip
✔️ 701456b #1 2024-02-01 14:52:43 ~5 min android 📦aar
✖️ ff2f27a #2 2024-02-01 16:04:36 ~1 min tests 📄log
✔️ ff2f27a #2 2024-02-01 16:06:41 ~3 min linux 📦zip
✔️ ff2f27a #2 2024-02-01 16:06:54 ~3 min ios 📦zip
✔️ ff2f27a #2 2024-02-01 16:08:38 ~5 min android 📦aar
✔️ 8aed250 #3 2024-02-01 16:10:08 ~1 min linux 📦zip
✖️ 8aed250 #3 2024-02-01 16:10:54 ~2 min tests 📄log
✔️ 8aed250 #3 2024-02-01 16:11:07 ~2 min android 📦aar
✔️ 8aed250 #3 2024-02-01 16:11:37 ~3 min ios 📦zip
✔️ 16c3d47 #4 2024-02-01 16:16:03 ~1 min linux 📦zip
✔️ 16c3d47 #4 2024-02-01 16:16:51 ~2 min android 📦aar
✔️ 16c3d47 #4 2024-02-01 16:17:27 ~2 min ios 📦zip
✔️ 16c3d47 #4 2024-02-01 16:50:47 ~36 min tests 📄log
✔️ c7a6631 #5 2024-02-12 12:35:00 ~3 min linux 📦zip
✔️ c7a6631 #5 2024-02-12 12:37:00 ~5 min android 📦aar
✔️ c7a6631 #5 2024-02-12 12:37:41 ~6 min ios 📦zip
✖️ c7a6631 #5 2024-02-12 12:59:14 ~27 min tests 📄log
✖️ 6992df8 #6 2024-02-13 03:06:59 ~1 min tests 📄log
✔️ 6992df8 #6 2024-02-13 03:07:11 ~1 min linux 📦zip
✔️ 6992df8 #6 2024-02-13 03:07:43 ~2 min android 📦aar
✔️ 6992df8 #6 2024-02-13 03:10:08 ~4 min ios 📦zip
✔️ 9c66b21 #7 2024-02-13 05:36:21 ~1 min android 📦aar
✔️ 9c66b21 #7 2024-02-13 05:38:02 ~3 min linux 📦zip
✔️ 9c66b21 #7 2024-02-13 05:38:50 ~4 min ios 📦zip
✔️ 9c66b21 #7 2024-02-13 06:11:27 ~36 min tests 📄log
✔️ dcb26ff #8 2024-02-13 09:27:57 ~2 min ios 📦zip
✔️ dcb26ff #8 2024-02-13 09:28:35 ~3 min linux 📦zip
✔️ dcb26ff #8 2024-02-13 09:30:30 ~5 min android 📦aar
✔️ dcb26ff #8 2024-02-13 10:01:06 ~36 min tests 📄log
✔️ affe1bb #9 2024-02-14 08:00:29 ~1 min linux 📦zip
✔️ affe1bb #9 2024-02-14 08:00:58 ~2 min android 📦aar
✔️ affe1bb #9 2024-02-14 08:03:08 ~4 min ios 📦zip
✖️ affe1bb #9 2024-02-14 08:29:49 ~30 min tests 📄log
✔️ b4694a2 #10 2024-02-15 09:15:20 ~1 min linux 📦zip
✔️ b4694a2 #10 2024-02-15 09:15:31 ~1 min android 📦aar
✔️ b4694a2 #10 2024-02-15 09:16:17 ~2 min ios 📦zip
✖️ b4694a2 #10 2024-02-15 09:37:41 ~24 min tests 📄log
✔️ 1842d88 #11 2024-02-16 16:54:40 ~1 min linux 📦zip
✔️ 1842d88 #11 2024-02-16 16:56:07 ~2 min ios 📦zip
✔️ 1842d88 #11 2024-02-16 16:58:24 ~5 min android 📦aar
✔️ 1842d88 #11 2024-02-16 17:33:08 ~39 min tests 📄log
da31d82 #12 2024-05-06 11:51:27 ~1 min ios 📄log
da31d82 #12 2024-05-06 11:51:34 ~1 min android 📄log
✖️ da31d82 #12 2024-05-06 11:51:35 ~1 min tests 📄log
da31d82 #12 2024-05-06 11:51:44 ~1 min linux 📄log
✖️ d690595 #13 2024-05-19 23:29:48 ~1 min tests 📄log
✔️ d690595 #13 2024-05-19 23:32:33 ~4 min linux 📦zip
✔️ d690595 #13 2024-05-19 23:33:19 ~4 min android 📦aar
✔️ d690595 #13 2024-05-19 23:33:20 ~4 min ios 📦zip
✖️ eaf8c7f #14 2024-05-19 23:37:38 ~1 min tests 📄log
✔️ eaf8c7f #14 2024-05-19 23:39:39 ~3 min ios 📦zip
✔️ eaf8c7f #14 2024-05-19 23:40:27 ~4 min linux 📦zip
✔️ eaf8c7f #14 2024-05-19 23:42:28 ~6 min android 📦aar
✖️ bb2b37e #15 2024-05-19 23:44:07 ~56 sec tests 📄log
✔️ bb2b37e #15 2024-05-19 23:44:50 ~1 min android 📦aar
✔️ bb2b37e #15 2024-05-19 23:45:20 ~2 min linux 📦zip
✔️ bb2b37e #15 2024-05-19 23:46:22 ~3 min ios 📦zip
✔️ bbbd9c0 #16 2024-05-19 23:51:16 ~2 min android 📦aar
✔️ bbbd9c0 #16 2024-05-19 23:51:26 ~2 min linux 📦zip
✔️ bbbd9c0 #16 2024-05-19 23:52:22 ~3 min ios 📦zip
✖️ bbbd9c0 #16 2024-05-19 23:51:43 ~2 min tests 📄log
✔️ 18114c9 #17 2024-05-20 00:09:18 ~2 min linux 📦zip
✔️ 18114c9 #17 2024-05-20 00:09:22 ~2 min android 📦aar
✔️ 18114c9 #17 2024-05-20 00:10:17 ~3 min ios 📦zip
✔️ 18114c9 #17 2024-05-20 00:50:49 ~44 min tests 📄log
✔️ 1c60cbe #18 2024-05-20 00:51:23 ~1 min android 📦aar
✔️ 1c60cbe #18 2024-05-20 00:52:02 ~2 min linux 📦zip
✔️ 1c60cbe #18 2024-05-20 00:52:37 ~3 min ios 📦zip
✖️ 1c60cbe #18 2024-05-20 00:52:01 ~59 sec tests 📄log
✔️ a064407 #19 2024-05-20 01:11:59 ~1 min android 📦aar
✔️ a064407 #19 2024-05-20 01:12:22 ~2 min linux 📦zip
✔️ a064407 #19 2024-05-20 01:13:26 ~3 min ios 📦zip
✔️ a064407 #19 2024-05-20 01:52:36 ~42 min tests 📄log
✖️ 15cd506 #20 2024-05-23 06:10:22 ~1 min tests 📄log
✔️ 15cd506 #20 2024-05-23 06:11:58 ~2 min linux 📦zip
✔️ 15cd506 #20 2024-05-23 06:12:06 ~2 min android 📦aar
✔️ 15cd506 #20 2024-05-23 06:12:46 ~3 min ios 📦zip
✔️ 4e824b4 #21 2024-05-23 07:21:17 ~2 min linux 📦zip
✔️ 4e824b4 #21 2024-05-23 07:21:24 ~2 min android 📦aar
✔️ 4e824b4 #21 2024-05-23 07:21:28 ~2 min ios 📦zip
✔️ 4e824b4 #21 2024-05-23 08:02:12 ~43 min tests 📄log
✖️ e535eab #22 2024-05-27 07:07:11 ~1 min tests 📄log
✔️ e535eab #22 2024-05-27 07:07:33 ~1 min android 📦aar
✔️ e535eab #22 2024-05-27 07:07:58 ~2 min linux 📦zip
✔️ e535eab #22 2024-05-27 07:09:02 ~3 min ios 📦zip
✔️ e93961b #23 2024-05-27 07:37:21 ~2 min android 📦aar
✔️ e93961b #23 2024-05-27 07:37:35 ~2 min linux 📦zip
✔️ e93961b #23 2024-05-27 07:38:29 ~3 min ios 📦zip
✔️ e93961b #23 2024-05-27 08:19:21 ~44 min tests 📄log
✖️ db7f70e #24 2024-05-28 07:05:23 ~1 min tests 📄log
✔️ db7f70e #24 2024-05-28 07:07:01 ~2 min linux 📦zip
✔️ db7f70e #24 2024-05-28 07:07:06 ~2 min android 📦aar
✔️ db7f70e #24 2024-05-28 07:07:55 ~3 min ios 📦zip
✔️ cc22d7d #25 2024-05-28 12:22:03 ~3 min linux 📦zip
✔️ cc22d7d #25 2024-05-28 12:22:45 ~3 min ios 📦zip
✔️ cc22d7d #25 2024-05-28 12:25:05 ~6 min android 📦aar
✔️ cc22d7d #25 2024-05-28 13:03:05 ~44 min tests 📄log
✖️ 78be2fd #26 2024-05-29 01:43:40 ~1 min tests 📄log
✔️ 78be2fd #26 2024-05-29 01:45:07 ~2 min linux 📦zip
✔️ 78be2fd #26 2024-05-29 01:45:16 ~2 min android 📦aar
✔️ 78be2fd #26 2024-05-29 01:45:36 ~3 min ios 📦zip
✔️ 18a7bf3 #27 2024-05-29 06:37:30 ~1 min android 📦aar
✔️ 18a7bf3 #27 2024-05-29 06:37:55 ~2 min linux 📦zip
✔️ 18a7bf3 #27 2024-05-29 06:38:38 ~3 min ios 📦zip
✖️ 18a7bf3 #27 2024-05-29 07:12:17 ~36 min tests 📄log
✔️ f9fa880 #28 2024-05-29 09:25:23 ~3 min android 📦aar
✔️ f9fa880 #28 2024-05-29 09:25:31 ~3 min ios 📦zip
✔️ f9fa880 #28 2024-05-29 09:26:42 ~4 min linux 📦zip
✔️ 521f5bb #29 2024-05-29 09:30:28 ~2 min linux 📦zip
✔️ 521f5bb #29 2024-05-29 09:30:36 ~2 min android 📦aar
✔️ 521f5bb #29 2024-05-29 09:31:08 ~3 min ios 📦zip
✔️ f9fa880 #28 2024-05-29 10:09:27 ~47 min tests 📄log
✔️ 521f5bb #29 2024-05-29 10:53:20 ~43 min tests 📄log
✔️ 634fb98 #30 2024-05-29 10:57:28 ~2 min linux 📦zip
✔️ 634fb98 #30 2024-05-29 10:57:29 ~2 min android 📦aar
✔️ 634fb98 #30 2024-05-29 10:58:58 ~4 min ios 📦zip
✔️ 634fb98 #30 2024-05-29 11:38:55 ~44 min tests 📄log
✖️ 630f3e5 #31 2024-05-30 09:17:31 ~1 min tests 📄log
630f3e5 #31 2024-05-30 09:17:40 ~1 min android 📄log
630f3e5 #31 2024-05-30 09:17:42 ~1 min linux 📄log
630f3e5 #31 2024-05-30 09:17:55 ~1 min ios 📄log
dc665a7 #32 2024-05-30 09:18:28 ~28 sec android 📄log
dc665a7 #32 2024-05-30 09:18:57 ~45 sec ios 📄log
dc665a7 #32 2024-05-30 09:19:19 ~1 min linux 📄log
✖️ dc665a7 #32 2024-05-30 09:20:12 ~2 min tests 📄log
✔️ 31590b5 #33 2024-05-30 09:30:36 ~3 min linux 📦zip
✔️ 31590b5 #33 2024-05-30 09:31:53 ~4 min ios 📦zip
✔️ 31590b5 #33 2024-05-30 09:32:18 ~5 min android 📦aar
✔️ 31590b5 #33 2024-05-30 10:10:09 ~42 min tests 📄log
✖️ 59e196d #34 2024-06-03 10:04:59 ~59 sec tests 📄log
✔️ 59e196d #34 2024-06-03 10:07:17 ~3 min android 📦aar
✔️ 59e196d #34 2024-06-03 10:07:30 ~3 min linux 📦zip
✔️ 59e196d #34 2024-06-03 10:07:35 ~3 min ios 📦zip
✖️ 817e959 #35 2024-06-05 11:08:45 ~2 min tests 📄log
✔️ 817e959 #35 2024-06-05 11:09:58 ~3 min ios 📦zip
✔️ 817e959 #35 2024-06-05 11:10:50 ~4 min linux 📦zip
✔️ 817e959 #35 2024-06-05 11:14:38 ~8 min android 📦aar
✔️ ca9b04b #36 2024-06-05 11:26:42 ~2 min linux 📦zip
✔️ ca9b04b #36 2024-06-05 11:26:45 ~2 min android 📦aar
✔️ ca9b04b #36 2024-06-05 11:28:13 ~4 min ios 📦zip
✖️ ca9b04b #36 2024-06-05 11:29:49 ~5 min tests 📄log
✖️ ca9b04b #37 2024-06-05 11:49:04 ~4 min tests 📄log
✔️ 818c39d #37 2024-06-05 14:11:10 ~3 min android 📦aar
✔️ 818c39d #37 2024-06-05 14:11:35 ~3 min ios 📦zip
✔️ 818c39d #37 2024-06-05 14:11:50 ~3 min linux 📦zip
✖️ 818c39d #38 2024-06-05 14:13:43 ~5 min tests 📄log
✔️ 1ffd20a #38 2024-06-05 15:08:08 ~2 min linux 📦zip
✔️ 1ffd20a #38 2024-06-05 15:08:32 ~3 min android 📦aar
✔️ 1ffd20a #38 2024-06-05 15:08:56 ~3 min ios 📦zip
✔️ 1ffd20a #39 2024-06-05 15:46:44 ~41 min tests 📄log
✖️ fde4e11 #40 2024-06-07 10:44:22 ~50 sec tests 📄log
✔️ fde4e11 #39 2024-06-07 10:46:05 ~2 min android 📦aar
✔️ fde4e11 #39 2024-06-07 10:46:18 ~2 min linux 📦zip
✔️ fde4e11 #39 2024-06-07 10:47:13 ~3 min ios 📦zip
✖️ c95256b #41 2024-06-07 10:48:12 ~1 min tests 📄log
✔️ c95256b #40 2024-06-07 10:48:55 ~1 min android 📦aar
✔️ c95256b #40 2024-06-07 10:50:19 ~3 min linux 📦zip
✔️ c95256b #40 2024-06-07 10:50:20 ~2 min ios 📦zip
✔️ ea0ed08 #41 2024-06-07 10:51:34 ~1 min android 📦aar
✔️ ea0ed08 #41 2024-06-07 10:52:43 ~2 min linux 📦zip
✔️ ea0ed08 #41 2024-06-07 10:53:34 ~2 min ios 📦zip
✖️ ea0ed08 #42 2024-06-07 10:52:30 ~2 min tests 📄log
✔️ 3f16ca7 #42 2024-06-07 10:59:38 ~2 min linux 📦zip
✔️ 3f16ca7 #42 2024-06-07 10:59:48 ~2 min ios 📦zip
✔️ 3f16ca7 #42 2024-06-07 11:02:36 ~5 min android 📦aar
✔️ 3f16ca7 #43 2024-06-07 11:40:40 ~43 min tests 📄log
✔️ d7f767d #43 2024-06-11 10:02:53 ~2 min linux 📦zip
✔️ d7f767d #43 2024-06-11 10:04:06 ~4 min ios 📦zip
✔️ d7f767d #43 2024-06-11 10:05:29 ~5 min android 📦aar
✔️ 03b8e4a #44 2024-06-11 10:05:50 ~2 min linux 📦zip
✔️ 03b8e4a #44 2024-06-11 10:07:26 ~3 min ios 📦zip
✔️ 03b8e4a #44 2024-06-11 10:08:15 ~2 min android 📦aar
✔️ d7f767d #44 2024-06-11 10:42:41 ~42 min tests 📄log
✖️ 03b8e4a #45 2024-06-11 10:46:11 ~3 min tests 📄log
✔️ e21dc8b #45 2024-06-11 11:02:47 ~1 min android 📦aar
✔️ e21dc8b #45 2024-06-11 11:03:51 ~2 min ios 📦zip
✔️ e21dc8b #45 2024-06-11 11:05:35 ~4 min linux 📦zip
✔️ e21dc8b #46 2024-06-11 11:41:48 ~40 min tests 📄log
✔️ d08687c #46 2024-06-12 11:57:52 ~2 min android 📦aar
✔️ d08687c #46 2024-06-12 11:57:59 ~2 min linux 📦zip
✔️ d08687c #46 2024-06-12 11:58:39 ~3 min ios 📦zip
✔️ d08687c #47 2024-06-12 12:36:41 ~41 min tests 📄log
✔️ fe72811 #47 2024-06-13 13:09:40 ~2 min ios 📦zip
✔️ fe72811 #47 2024-06-13 13:14:34 ~7 min android 📦aar
✔️ fe72811 #47 2024-06-13 13:14:44 ~7 min linux 📦zip
✔️ fd41493 #48 2024-06-13 13:13:13 ~3 min ios 📦zip
✖️ fe72811 #48 2024-06-13 13:16:32 ~9 min tests 📄log
✔️ 3ff4be0 #49 2024-06-13 13:16:41 ~3 min ios 📦zip
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ e7f63f3 #48 2024-06-13 13:19:06 ~4 min android 📦aar
✔️ e7f63f3 #50 2024-06-13 13:20:07 ~3 min ios 📦zip
✔️ e7f63f3 #48 2024-06-13 13:22:02 ~7 min linux 📦zip
✔️ e7f63f3 #49 2024-06-13 14:02:10 ~45 min tests 📄log

@vitvly vitvly force-pushed the fix/filter-subscribes-order branch from 8aed250 to 16c3d47 Compare February 1, 2024 16:14
@vitvly vitvly marked this pull request as ready for review February 5, 2024 14:10
wakuv2/filter_manager.go Outdated Show resolved Hide resolved
wakuv2/filter_manager.go Outdated Show resolved Hide resolved
@chaitanyaprem
Copy link
Contributor

chaitanyaprem commented Feb 6, 2024

After some looking on FilterManager, it appears that it's too complicated. Since the logic for setting specific peers has been removed in favour of automatic selection, i don't actually see any need to maintain any knowledge about particular peers on FilterManager level. Also, maintaining MinPeersForFilter connections for each filter is also out of status-go's purview, i think. Let go-waku handle that.

Ideally such functionality should be part of the SDK layer, it could be a thin layer above the actual Filter implementation in go-waku. Would not recommend adding it to the Filter code in go-waku as it has become too complicated.

Wrt MinPeersForFilter, status-go should specify the count for it as the idea is for users for Filter to be able to specify and choose based on the use-case.
Alternatively, we could always set the default to 2(which is what was being used by status-go).

wakuv2/filter_manager.go Outdated Show resolved Hide resolved
wakuv2/filter_manager.go Outdated Show resolved Hide resolved
wakuv2/filter_manager.go Outdated Show resolved Hide resolved
@vitvly
Copy link
Contributor Author

vitvly commented Feb 6, 2024

@chaitanyaprem regarding MinPeersForFilter - i think @kaichaosun raised a similar point. Just to reiterate - if i understand correctly, using WithMaxPeersPerContentFilter will return a slice of subscriptions, and i'd rather have a single sub in status-go. In the issue description above item #2 plans to address that, i think. Please correct me if my understanding is wrong.

@vitvly
Copy link
Contributor Author

vitvly commented Feb 6, 2024

This, i think, implies, that the notion of Subscription for status-go should only encompass its channel C. Current SubscriptionDetails has extra exported fields that status-go shouldn't know about.

@chaitanyaprem
Copy link
Contributor

@chaitanyaprem regarding MinPeersForFilter - i think @kaichaosun raised a similar point. Just to reiterate - if i understand correctly, using WithMaxPeersPerContentFilter will return a slice of subscriptions, and i'd rather have a single sub in status-go. In the issue description above item #2 plans to address that, i think. Please correct me if my understanding is wrong.

Hmm, interesting point. Haven't thought about it this way, but kind of makes sense to have SDK abstract this from status-go. Have to think a little more if this brings any unnecessary complexities.
cc @richard-ramos WDYT?

@richard-ramos
Copy link
Member

Indeed, having a single subscription would make sense for status-go, since it makes dealing with multiple peers something simpler. Like @chaitanyaprem , i think this should go a layer above the actual filter protocol implementation, since that's 'raw' protocol usage, and it's code in this moment is somewhat complex, while a separate abstraction could help make its usage to be more palatable, while offering an API that would make sense for status-go.

@vitvly
Copy link
Contributor Author

vitvly commented Feb 9, 2024

When testing this PR in status-mobile a PeerExchange problem was uncovered: status-im/status-mobile#18769 (comment). Debugging/troubleshooting notes here: status-im/status-mobile#18769 (comment).

@vitvly vitvly force-pushed the fix/filter-subscribes-order branch 3 times, most recently from b4694a2 to 1842d88 Compare February 16, 2024 16:52
wakuv2/waku.go Outdated Show resolved Hide resolved
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

Can be merged once waku-org/go-waku#1048 is ready and CI errors are addressed.

@chaitanyaprem
Copy link
Contributor

LGTM

Can be merged once waku-org/go-waku#1048 is ready and CI errors are addressed.

@vitvly the relevant go-waku PR has been merged. This also can be merged once CI errors are addressed. We can test Filter in CI for any issues.

@ghost
Copy link

ghost commented Jun 5, 2024

vendor/github.com/libp2p/go-cidranger/Gopkg.lock changed. Pinging @corpetty

@ghost
Copy link

ghost commented Jun 5, 2024

vendor/github.com/libp2p/go-cidranger/Gopkg.lock changed. Pinging @corpetty

@ghost
Copy link

ghost commented Jun 5, 2024

vendor/github.com/libp2p/go-cidranger/Gopkg.lock changed. Pinging @corpetty

@chaitanyaprem chaitanyaprem force-pushed the fix/filter-subscribes-order branch from fde4e11 to c95256b Compare June 7, 2024 10:46
@chaitanyaprem chaitanyaprem force-pushed the fix/filter-subscribes-order branch from c95256b to ea0ed08 Compare June 7, 2024 10:49
@chaitanyaprem chaitanyaprem force-pushed the fix/filter-subscribes-order branch from 03b8e4a to e21dc8b Compare June 11, 2024 11:00
@chaitanyaprem
Copy link
Contributor

chaitanyaprem commented Jun 13, 2024

@richard-ramos I had noticed you haven't taken a look at the updated PR. Please review and add any comments.

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.

Good work. I like the changes done on filter manager.

wakuv2/waku_test.go Outdated Show resolved Hide resolved
wakuv2/waku_test.go Outdated Show resolved Hide resolved
wakuv2/waku_test.go Outdated Show resolved Hide resolved
wakuv2/waku_test.go Outdated Show resolved Hide resolved
wakuv2/waku.go Outdated Show resolved Hide resolved
wakuv2/waku.go Outdated Show resolved Hide resolved
wakuv2/filter_manager.go Outdated Show resolved Hide resolved
wakuv2/filter_manager.go Outdated Show resolved Hide resolved
@chaitanyaprem chaitanyaprem force-pushed the fix/filter-subscribes-order branch from fd41493 to 3ff4be0 Compare June 13, 2024 13:10
@chaitanyaprem
Copy link
Contributor

Disabled pxClient for now as that is causing issues. This is being tracked as part of #5344 so that we can enable it again in lightClients.

@chaitanyaprem
Copy link
Contributor

Merging this PR as it has passed mobile e2e tests and also manual test with some observations which should not be related to filter.

Ref status-mobile PR : status-im/status-mobile#20369

@chaitanyaprem chaitanyaprem merged commit 68acef6 into develop Jun 14, 2024
11 of 12 checks passed
@chaitanyaprem chaitanyaprem deleted the fix/filter-subscribes-order branch June 14, 2024 12:41
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.

bug: Filter subscribe and unsubscribe seem to happen out of order
5 participants