Skip to content

_signTypedData ambiguous primary types or unused types #4000

Answered by ricmoo
TimDaub asked this question in Q&A
Discussion options

You must be logged in to vote

That's a feature, not a bug. :)

It doesn't let you put elements which will be discarded, which happens in the case of an ambiguous primary type.

Since Message doesn't include a Delegation and delegation doesn't contain a Message, they can't possibly be part of the same message. If you have multiple types, they must form a DAG, of which the root of the DAG is used as the primary type.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TimDaub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3999 on April 25, 2023 15:45.