Repository navigation
fix(typedData): only reject struct names that are Solidity types - #5305
pucedoteth wants to merge 1 commit into
Conversation
validateTypedData treated any struct name starting with `int`, `uint` or `bytes` as a Solidity type, so a valid struct such as `intent`, `interval` or `bytesInfo` made validateTypedData and hashTypedData throw `Struct type "intent" is invalid.` Match the whole name against the integer and bytes type regexes instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01L75E8Ap183JW1mDfv8arqR
|
@pucedoteth is attempting to deploy a commit to the Wevm Team on Vercel. A member of the Team first needs to authorize it. |
🦋 Changeset detectedLatest commit: b6938bd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
|
Thanks for the fix. #5308 replaces this PR. The anchored regexes accept Generated by Claude Code |
validateTypedData treated any struct name starting with
int,uintorbytesas a Solidity type, so a valid struct such asintent,intervalorbytesInfomade validateTypedData and hashTypedData throwStruct type "intent" is invalid.Match the whole name against the integer and bytes type regexes instead.Claude-Session: https://claude.ai/code/session_01L75E8Ap183JW1mDfv8arqR