-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eip712 signtypeddata do not support Array? #77
Comments
Ok i reviewed this and have the folowing conclusion. so that is not encoded in the TypeHash. where if encType.EndsWith(']') then
To bad it did not raise an exception. i gave it a little try but that does not give the right result.
|
can update to support? |
i am trying this is my solution
|
Right i got it working for examples with Arrays. (Bytes ) `if encType.EndsWith(']') then
|
like this
online test https://codesandbox.io/p/sandbox/eth-signtypeddata-v4-335wo?file=%2Fsrc%2FtypedDataV4.js%3A1%2C1-69%2C1
MyTestCode:
will couse error
comment typedData.Message.Add('attachedMoneyInEth', 4.2); can work but the result is wrong
The text was updated successfully, but these errors were encountered: