-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[Bug]: Bridge throws an uncaught metrics error on tx completion #30842
Labels
regression-RC-12.14.0
Regression bug that was found in release candidate (RC) for release 12.14.0
release-12.15.0
Issue or pull request that will be included in release 12.15.0
Sev2-normal
Normal severity; minor loss of service or inconvenience.
Comments
Setting severity to sev2 since it affects metrics and monitoring |
7 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Mar 7, 2025
<!-- 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** Action Completed metric event requires parsing a caip chainId to hex. This fails due to incorrectly checking the type of the CAIP reference <!-- 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? --> [](https://codespaces.new/MetaMask/metamask-extension/pull/30848?quickstart=1) ## **Related issues** Fixes: #30842 ## **Manual testing steps** 1. Open background logs 2. Submit a bridge tx 3. Check that `batch` network call for "Action Completed" is POSTed ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **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/main/.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/main/.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. --------- Co-authored-by: hunty <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
regression-RC-12.14.0
Regression bug that was found in release candidate (RC) for release 12.14.0
release-12.15.0
Issue or pull request that will be included in release 12.15.0
Sev2-normal
Normal severity; minor loss of service or inconvenience.
Describe the bug
The Bridge experience emits a metric event on tx success. The transaction shows the accurate status but fails to emit an event due to a chainId parsing issue
Expected behavior
No response
Screenshots/Recordings
Steps to reproduce
Error messages or log output
Detection stage
During release testing
Version
12.14.0
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: