This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Broken EIP-712 support: all EIP712Domain
fields should be optional
#1092
Labels
bug
Something isn't working
Version
N/A
Platform
N/A
Description
According to the spec, all fields in
EIP712Domain
should be optional:whereas in
ethers-rs
currently onlysalt
is:ethers-rs/ethers-core/src/types/transaction/eip712.rs
Lines 106 to 124 in 916e9a7
The library pre-computes two type hashes for the domain, but in reality all fields can be optional:
ethers-rs/ethers-core/src/types/transaction/eip712.rs
Lines 16 to 32 in 916e9a7
The text was updated successfully, but these errors were encountered: