-
Notifications
You must be signed in to change notification settings - Fork 75
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
fix: masks ip address in request details passed as argument to MN client #3268
Conversation
Test Results 20 files ± 0 269 suites +21 33m 32s ⏱️ + 1m 41s For more details on these failures, see this check. Results for commit 1845b67. ± Comparison against base commit 27a10dc. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
d5db1d0
to
e0a7de0
Compare
e0a7de0
to
9302c27
Compare
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
d4ff0f7
to
9e307bf
Compare
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
9e307bf
to
7e24f26
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 for the quick great work!
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.
Looking good but I won't if there is a single location we can set this oce
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.
Approved with some nits which might be fixed in a follow-up PR due to the urgency of this one.
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
47ce73d
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
e71c520
to
1845b67
Compare
Quality Gate passedIssues Measures |
…ent (#3268) * removes request details from passed arg to MN client Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * Masks ip beforehand instead of changing object in repeated request Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * Adds constant and draft unit test Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * changes unit test Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * Fixes unit test Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * removes unused var Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> --------- Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
…ent (#3268) * removes request details from passed arg to MN client Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * Masks ip beforehand instead of changing object in repeated request Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * Adds constant and draft unit test Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * changes unit test Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * Fixes unit test Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> * removes unused var Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> --------- Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
fix: masks ip address in request details passed as argument to MN client (#3268) * removes request details from passed arg to MN client * Masks ip beforehand instead of changing object in repeated request * Adds constant and draft unit test * changes unit test * Fixes unit test * removes unused var --------- Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com> Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com> Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3268 +/- ##
==========================================
+ Coverage 76.64% 77.89% +1.25%
==========================================
Files 65 66 +1
Lines 4449 4470 +21
Branches 1014 1003 -11
==========================================
+ Hits 3410 3482 +72
+ Misses 672 613 -59
- Partials 367 375 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Description:
The issue arises from the fact requestDetails are passed as an argument to the repeatedRequest method in MN client, because they are needed for the next method call
However, further down in the method the args are logged.
Related issue(s):
Fixes #3266