Closed edburmai closed 4 months ago
Currently, stylus-sdk-rs depends on alloy-primitives and alloy-sol-types version 0.3.1. This version contains a known EIP-712 nested struct hashing bug (https://github.com/alloy-rs/core/issues/257).
stylus-sdk-rs
alloy-primitives
alloy-sol-types
Example: eip712_signing_hash for Mail produces an incorrect hash.
eip712_signing_hash
Mail
sol! { struct Person { string name; address wallet; } struct Mail { Person from; Person to; string contents; } }
Duplicate of #125
Currently,
stylus-sdk-rs
depends onalloy-primitives
andalloy-sol-types
version 0.3.1. This version contains a known EIP-712 nested struct hashing bug (https://github.com/alloy-rs/core/issues/257).Example:
eip712_signing_hash
forMail
produces an incorrect hash.