-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
We calculate the ID of the user by hashing the address. This way we won't store any sensitive information in Sentry.
✅ Deploy Preview for acre-dapp-testnet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for acre-dapp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
dapp/src/sentry.test.ts
Outdated
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.
We keep the tests in separate directories. So I'm wondering whether to move them to the tests folder.
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.
We don't need to introduce another crypto-js library to calculate the hash. We can use the existing ethers library.
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.
We calculate the ID of the user by hashing the address. This way we won't store any sensitive information in Sentry.