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

Set Sentry user id to hashed identifier #904

Merged
merged 5 commits into from
Nov 28, 2024
Merged

Set Sentry user id to hashed identifier #904

merged 5 commits into from
Nov 28, 2024

Conversation

nkuba
Copy link
Member

@nkuba nkuba commented Nov 27, 2024

We calculate the ID of the user by hashing the address. This way we won't store any sensitive information in Sentry.

We calculate the ID of the user by hashing the address. This way we won't
store any sensitive information in Sentry.
@nkuba nkuba requested a review from a team November 27, 2024 22:27
@nkuba nkuba self-assigned this Nov 27, 2024
Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for acre-dapp-testnet ready!

Name Link
🔨 Latest commit e61a8e1
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp-testnet/deploys/6748596b55155400081c0b88
😎 Deploy Preview https://deploy-preview-904--acre-dapp-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for acre-dapp ready!

Name Link
🔨 Latest commit e61a8e1
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp/deploys/6748596ba512520008ff71ee
😎 Deploy Preview https://deploy-preview-904--acre-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

Choose a reason for hiding this comment

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

We keep the tests in separate directories. So I'm wondering whether to move them to the tests folder.

Copy link
Member Author

Choose a reason for hiding this comment

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

I updated it in #906 to consistently keep the test in the root test folder with other packages.
I propose we merge this PR and update it in #906.

dapp/package.json Outdated Show resolved Hide resolved
We don't need to introduce another crypto-js library to calculate the hash.
We can use the existing ethers library.
@r-czajkowski r-czajkowski merged commit c217341 into main Nov 28, 2024
28 checks passed
@r-czajkowski r-czajkowski deleted the sentry-user-id branch November 28, 2024 12:01
r-czajkowski added a commit that referenced this pull request Dec 9, 2024
Depends on: #904

For consistency with other packages and projects we are moving the dapp
tests to the root test folder.

There are many possible approaches to organize the tests, but here we
are following the same structure as the other packages. If we need to
change this in the future, we can discuss and find the best approach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants