-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
To simplify implementation of EIP-712 structural hashing when transaction does not contain metadata
32 zero-bytes is used for EIP-712 hash computation.
This seems to be good idea since it is aligned with how solidity handles unassigned variables and simplifies further processing
As we discovered this approach could open an attack vector, because transaction without metadata and the same transaction with zero-metadata have different txhash
-es, which are used as transaction identifier. But both have same struct hash and therefore a signature.
It will require changes in elixir & cntract's code.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working