MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.18k stars 1.12k forks source link

feat: updated staking events to use withMetaMetrics helper #12337

Open Matt561 opened 6 days ago

Matt561 commented 6 days ago

Description

This PR updates the events added in #12144 to use the withMetaMetrics helper function.

Related issues

Jira Ticket: STAKE-876: Wrap existing Staking events with withMetaMetrics hook

Manual testing steps

Prerequisite: Add export MM_POOLED_STAKING_UI_ENABLED=true to your local .js.env file.

All events can be tested by running through the stake and unstake flows.

Screenshots/Recordings

Before

N/A

After

N/A

Pre-merge author checklist

Pre-merge reviewer checklist

github-actions[bot] commented 6 days ago

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

github-actions[bot] commented 6 days ago

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 6c92e73ef03fc033a77606404100936d4efd573e Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/38269887-d523-4518-88d6-6c72dcdaee8d

[!NOTE]

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request
github-actions[bot] commented 5 days ago

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 1a2b51f919e536c63e452e750f96acda6c61ab0b Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/d72cded3-63d8-4c83-b664-d87289df3b20

[!NOTE]

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request
sonarcloud[bot] commented 12 hours ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
85.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

github-actions[bot] commented 11 hours ago

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 77178775527806fdeea5a48e8759ee1443b8e64c Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/32c3f34a-4afa-4a7b-ae8e-f33b00ab54b5

[!NOTE]

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

[!TIP]

  • Check the documentation if you have any doubts on how to understand the failure on bitrise