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

Fix encoding and hash function versions used in unit tests #151

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jul 14, 2021

Various unit tests for signTypedData_v3 functions included uses of encoding and hash functions for signTypedData_v4. This was likely accidental, as these functions default to "v4" mode.

All such uses now use the "v3" encoding. Luckily the "v3" and "v4" encoding was exactly the same for all such examples.

Various unit tests for `signTypedData_v3` functions included uses of
encoding and hash functions for `signTypedData_v4`. This was likely
accidental, as these functions default to "v4" mode.

All such uses now use the "v3" encoding. Luckily the "v3" and "v4"
encoding was exactly the same for all such examples.
@Gudahtt Gudahtt requested a review from a team as a code owner July 14, 2021 20:07
@Gudahtt Gudahtt merged commit 278415f into main Jul 14, 2021
@Gudahtt Gudahtt deleted the fix-unit-test-hashes branch July 14, 2021 21:50
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.

2 participants