Commit 96c2046
fix: handle bigint chainId in TypedData.extractEip712DomainTypes (#98)
* fix: handle bigint chainId in TypedData.extractEip712DomainTypes
Fixes #97 where TypedData.getSignPayload produced invalid EIP-712 hash
when chainId was passed as bigint instead of number.
The extractEip712DomainTypes function now correctly handles both number
and bigint types for chainId field.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Update late-kings-promise.md
---------
Co-authored-by: Claude <[email protected]>
Co-authored-by: jxom <[email protected]>1 parent cad577e commit 96c2046
File tree
3 files changed
+38
-1
lines changed- .changeset
- src/core
- _test
3 files changed
+38
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
| 398 | + | |
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
783 | 814 | | |
784 | 815 | | |
785 | 816 | | |
| |||
0 commit comments