Skip to content
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

use latest signTypedData version from eth-sig-util #6930

Merged
merged 1 commit into from
Aug 20, 2019
Merged

use latest signTypedData version from eth-sig-util #6930

merged 1 commit into from
Aug 20, 2019

Conversation

BrendanChou
Copy link
Contributor

This supports arrays in signing of typed data

fixes #6868
fixes #6106

Copy link
Contributor

@danfinlay danfinlay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The purpose of the v3 suffix is to avoid breaking changes. Rather than changing the behavior of this method, we should add a case 'V4' which will use the new method.

@BrendanChou
Copy link
Contributor Author

Ready for another look

Copy link
Contributor

@danfinlay danfinlay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Thank you so much for contributing this, we weren't able to fit it into this sprint. Could I get a UI team member, maybe @Gudahtt to do an additional sanity check/approval?

Copy link
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for signTypedData_v4 Array support in encodeData for EIP712 signature.
4 participants