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: cherry pick #3268 to release/0.60 #3277

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

quiet-node
Copy link
Member

Description:
Cherry pick fix: masks ip address in request details passed as argument to MN client (#3268) to release/0.60

Related issue(s):

Fixes #3268

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@quiet-node quiet-node requested review from AlfredoG87, lukelee-sl and a team as code owners November 19, 2024 16:55
@quiet-node quiet-node self-assigned this Nov 19, 2024
@quiet-node quiet-node added the process Build, test and deployment-process related tasks label Nov 19, 2024
@quiet-node quiet-node added this to the 0.60.0 milestone Nov 19, 2024
Copy link

github-actions bot commented Nov 19, 2024

Test Results

 20 files   -  2  279 suites   - 3   31m 20s ⏱️ - 4m 41s
610 tests  -  3  604 ✅ + 2  4 💤 ±0  2 ❌  - 5 
786 runs  +24  778 ✅ +27  6 💤 +2  2 ❌  - 5 

For more details on these failures, see this check.

Results for commit 3dd806c. ± Comparison against base commit 6a9acb2.

♻️ This comment has been updated with latest results.

…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>
@quiet-node quiet-node merged commit 20906ac into release/0.60 Nov 19, 2024
44 of 46 checks passed
@quiet-node quiet-node deleted the cherry-pick-3268 branch November 19, 2024 17:44
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.89%. Comparing base (6a9acb2) to head (3dd806c).
Report is 1 commits behind head on release/0.60.

Additional details and impacted files
@@              Coverage Diff              @@
##           release/0.60    #3277   +/-   ##
=============================================
  Coverage         77.88%   77.89%           
=============================================
  Files                66       66           
  Lines              4468     4470    +2     
  Branches           1003     1003           
=============================================
+ Hits               3480     3482    +2     
  Misses              613      613           
  Partials            375      375           
Flag Coverage Δ
config-service 98.14% <ø> (ø)
relay 78.64% <100.00%> (+0.01%) ⬆️
server 83.28% <ø> (ø)
ws-server 36.66% <ø> (ø)

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

Files with missing lines Coverage Δ
packages/relay/src/lib/clients/mirrorNodeClient.ts 86.19% <100.00%> (+0.03%) ⬆️
packages/relay/src/lib/constants.ts 86.27% <100.00%> (ø)
packages/relay/src/lib/eth.ts 71.07% <100.00%> (+0.03%) ⬆️
---- 🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process Build, test and deployment-process related tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants