-
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
feat: adding metrics for signature decoding #28719
Conversation
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. |
Builds ready [acec502]
Page Load Metrics (1627 ± 75 ms)
Bundle size diffs
|
Builds ready [44c0235]
Page Load Metrics (1607 ± 58 ms)
Bundle size diffs
|
Builds ready [1aec969]
Page Load Metrics (1855 ± 90 ms)
|
Builds ready [3bcd04e]
Page Load Metrics (1586 ± 48 ms)
Bundle size diffs
|
ui/pages/confirmations/components/simulation-details/useDecodedSignatureMetrics.ts
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/simulation-details/useDecodedSignatureMetrics.ts
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/simulation-details/useDecodedSignatureMetrics.test.ts
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/simulation-details/useDecodedSignatureMetrics.test.ts
Outdated
Show resolved
Hide resolved
…sion into decoding_metrics
}); | ||
}); | ||
|
||
it('should call updateSignatureEventFragment with correct parameters if there are no state changes', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor, same name as the other?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
}; | ||
|
||
describe('useDecodedSignatureMetrics', () => { | ||
process.env.ENABLE_SIGNATURE_DECODING = 'true'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: should we unset the ENV var after the tests are complete or is there another way to add ENV for builds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is being removed in a following PR
Builds ready [e938f4e]
Page Load Metrics (1711 ± 54 ms)
Bundle size diffs
|
Description
Adding metrics for signature decoding.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3644
Manual testing steps
Screenshots/Recordings
NA
Pre-merge author checklist
Pre-merge reviewer checklist