Skip to content

[Bug]: Permissions 7715 - Metrics - New Confirmation page event is sent with incorrect chain id #37007

@seaona

Description

@seaona

Describe the bug

New Confirmation page event is sent with incorrect chain id. Ie in this case, I'm triggering Permissions for Sepolia, but the chain_id property in the New Confirmation PAge event is set to 0x1

Expected behavior

  • We should set the correct chain id
  • It seems we could add more properties here, to get a bit more insights, like the type of permission

Screenshots/Recordings

metrics-chain-id.mov

Steps to reproduce

  1. Open network requests
  2. Trigger a Grant Permission on Sepolia
  3. See event is set to chain id 0x1

Error messages or log output

Detection stage

In production (default)

Version

flask

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sev2-normalNormal severity; minor loss of service or inconvenience.regression-prod-*Regression bug that was found in production in release *team-delegationMetaMask Delegation Teamtype-bugSomething isn't working

    Type

    Projects

    Status

    To be triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions