-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
refactor: parse signTypedData logic #14378
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
base: main
Are you sure you want to change the base?
Conversation
…{} instead of undefined
avoid confusion mixing data and message. This is specifically parsing the signTypedData type messageParams.data
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. |
…SolidityType tests
representing parsed messageParams.data
|
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.
LGTM.
|
|
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14378 +/- ##
==========================================
- Coverage 67.53% 67.53% -0.01%
==========================================
Files 2307 2307
Lines 49598 49598
Branches 7191 7190 -1
==========================================
- Hits 33497 33495 -2
- Misses 13983 13984 +1
- Partials 2118 2119 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
Description
Cleanup signTypedData parse and sanitize logic:
Related issues
Fixes: #14377
Manual testing steps
Test signTypedData confirmations v1 & v3/v4
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist