Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Capture 3 existing properties within non-anonymous transaction … (
#28144) …events <!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> Moved properties `simulations_sending_assets_total_value`, `simulations_receiving_assets_total_value` and `transaction_contract_method` from `sensitiveProperties` to `properties`. They now show up in both Anon and non-Anon events. [](https://codespaces.new/MetaMask/metamask-extension/pull/28144?quickstart=1) ## **Related issues** Fixes: MetaMask/MetaMask-planning#3506 ## **Manual testing steps** 1. Build the app with a segment key to a personal test workspace. 2. Create a transaction with simulations 3. Check the debugger screen to inspect the events ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> <img width="1728" alt="Screenshot 2024-10-29 at 10 17 29" src="https://github.com/user-attachments/assets/98941f82-934b-418c-ae16-59b37082f524"> <img width="1728" alt="Screenshot 2024-10-29 at 10 17 26" src="https://github.com/user-attachments/assets/9bcd838d-db7e-405b-9228-756debaa4b20"> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
- Loading branch information