You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EIP-712 specification supports fixed size and dynamic sized arrays.
From the spec,
The reference types are arrays and structs. Arrays are either fixed size or dynamic and denoted by Type[n] or Type[] respectively. Structs are references to other structs by their name. The standard supports recursive struct types.
Unfortunately go-ethereum in its current form doesn't fully comply with the EIP-712 standard because the signer module currently doesn't support encoding fixed size array datatypes.
Implementation
Are you willing to implement this feature? Yes
The text was updated successfully, but these errors were encountered:
This change updates the EIP-712 implementation to resolve [#30619](#30619).
The test cases have been repurposed from the ethers.js [repository](https://github.com/ethers-io/ethers.js/blob/main/testcases/typed-data.json.gz), but have been updated to remove tests that don't have a valid domain separator; EIP-712 messages without a domain separator are not supported by geth.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
This change updates the EIP-712 implementation to resolve [#30619](#30619).
The test cases have been repurposed from the ethers.js [repository](https://github.com/ethers-io/ethers.js/blob/main/testcases/typed-data.json.gz), but have been updated to remove tests that don't have a valid domain separator; EIP-712 messages without a domain separator are not supported by geth.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
zfy0701
pushed a commit
to sentioxyz/go-ethereum
that referenced
this issue
Dec 3, 2024
This change updates the EIP-712 implementation to resolve [ethereum#30619](ethereum#30619).
The test cases have been repurposed from the ethers.js [repository](https://github.com/ethers-io/ethers.js/blob/main/testcases/typed-data.json.gz), but have been updated to remove tests that don't have a valid domain separator; EIP-712 messages without a domain separator are not supported by geth.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Rationale
The EIP-712 specification supports fixed size and dynamic sized arrays.
From the spec,
Unfortunately go-ethereum in its current form doesn't fully comply with the EIP-712 standard because the signer module currently doesn't support encoding fixed size array datatypes.
Implementation
Are you willing to implement this feature? Yes
The text was updated successfully, but these errors were encountered: