Skip to content

Conversation

wenfix
Copy link
Contributor

@wenfix wenfix commented Sep 1, 2025

Description

While investigating https://github.com/MetaMask/MetaMask-planning/issues/5627 I came across this issue: the Connect Request Completed analytics event is not being triggered. This is due to getAddressAccountType helper not supporting CAIP account ids, which throws an error that ends up failing silently. This PR fixes thats.

Changelog

CHANGELOG entry:

Related issues

Fixes:

Manual testing steps

Feature: dapp connection

  Scenario: user connects to a dapp
    Given modal to confirm a dapp connection

    When user confirms the connection
    Then the analytics event `Connection Request Complete` should fire

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

@wenfix wenfix added No QA Needed Apply this label when your PR does not need any QA effort. team-wallet-api-platform Run Smoke E2E Requires smoke E2E testing no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed labels Sep 1, 2025
Copy link
Contributor

github-actions bot commented Sep 1, 2025

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.

Copy link
Contributor

github-actions bot commented Sep 1, 2025

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: cc6cc00
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/f8365d30-895e-4f8d-b722-025fd7ae9cbe

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 github-actions bot added the size-S label Sep 1, 2025
Copy link

sonarqubecloud bot commented Sep 1, 2025

Copy link
Contributor

@adonesky1 adonesky1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@adonesky1 adonesky1 added this pull request to the merge queue Sep 3, 2025
Any commits made after this event will not be merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No QA Needed Apply this label when your PR does not need any QA effort. no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed Run Smoke E2E Requires smoke E2E testing size-S team-wallet-api-platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants