-
Notifications
You must be signed in to change notification settings - Fork 49
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
test(waku-filter): Waku node filter privacy and security tests #2096
test(waku-filter): Waku node filter privacy and security tests #2096
Conversation
You can find the image built from this PR at
Built from cdd80d7 |
61bd44a
to
72a5f1a
Compare
b4cbe54
to
5982fa7
Compare
72a5f1a
to
37ea254
Compare
5982fa7
to
b327b50
Compare
37ea254
to
9649704
Compare
b327b50
to
00d7934
Compare
9649704
to
2f3e21e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good set of tests!
tests/node/test_wakunode_filter.nim
Outdated
# Given the client refreshes the subscription | ||
# TODO: CHECK IF THIS IS NECESSARY. | ||
# AT FIRST GLANCE IT SEEMS TO COLLIDE WITH WAKU_FILTER_CLIENT'S BEHAVIOUR: SHOULD NOT NEED? | ||
let subscribeResponse2 = await client.filterSubscribe( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this required for the test to pass? I would expect that it shouldn't be needed as long as:
- the service node didn't restart
- the client starts up again with the same peerId and transport as before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is required, yes.
I think so too, even more given the client doesn't do any unsubscribing, apparently. I'll open a ticket.
00d7934
to
e260ac6
Compare
2f3e21e
to
8b135c5
Compare
e260ac6
to
9b2e0d8
Compare
c1586f0
to
f2690a5
Compare
e3c816a
into
test-waku-filter-unsubscribe-all
Description
Implement privacy and security tests for waku node filter.
Changes
Dependencies
#2095