Skip to content
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

fix: Capture raw 4byte hex #28773

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

vinistevam
Copy link
Contributor

@vinistevam vinistevam commented Nov 27, 2024

Description

This PR aims to include in the events the property transaction_contract_method_4byte to improve the metrics when we are not able to identify the name of the function with our current sources.

Open in GitHub Codespaces

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3468

Manual testing steps

  1. Go to this page test dapp
  2. Deploy a contract
  3. Click in Mint and check Segment events

Screenshots/Recordings

4byte-event.webm

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.

@vinistevam vinistevam added the team-confirmations Push issues to confirmations team label Nov 27, 2024
@vinistevam vinistevam requested a review from a team as a code owner November 27, 2024 14:24
Copy link
Contributor

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.

@metamaskbot
Copy link
Collaborator

Builds ready [093972c]
Page Load Metrics (1823 ± 98 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15672288183020498
domContentLoaded15552215179519091
load15682294182320498
domInteractive279641209
backgroundConnect895292512
firstReactRender1781372311
getState460242110
initialActions01000
loadScripts11081718133017283
setupStore665182010
uiStartup174124932045217104
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 138 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants