Commit 0f5088b
authored
fix: allow colon in EIP-712 type names in encodeType parser (#289)
Hyperliquid uses colon-separated type names (e.g.
"HyperliquidTransaction:Withdraw") in their EIP-712 primaryType.
The encodeType regex only accepted \w (letters, digits, underscore),
causing the parser to truncate the type name at the colon.
Widen the regex to [\w:] so that colon-containing type names are
correctly captured.
Made-with: Cursor1 parent 7dcf3bf commit 0f5088b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments