Skip to content

Update eth_signTypedData_v4 example - #274

Merged
Gudahtt merged 2 commits into
mainfrom
add-0x-to-sign-typed-data-examples
Nov 22, 2023
Merged

Update eth_signTypedData_v4 example#274
Gudahtt merged 2 commits into
mainfrom
add-0x-to-sign-typed-data-examples

Conversation

@Gudahtt

@Gudahtt Gudahtt commented Nov 21, 2023

Copy link
Copy Markdown
Member

The example eth_signTypedData_v4 message has been updated to include a field that can reproduce this bug: MetaMask/metamask-mobile#7792 That signing bug results in invalid signatures for any messages that include a bytes field with the value 0x.

The example `eth_signTypedData_v4` message has been updated to include
a field that can reproduce this bug: MetaMask/metamask-mobile#7792
That signing bug results in invalid signatures for any messages that
include a `bytes` field with the value `0x`.

@mcmire mcmire left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good.

@legobeat legobeat left a comment

Copy link
Copy Markdown
Contributor

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.

3 participants