Skip to content

Feature: sign typed message v4 - #161

Merged
estebanmino merged 4 commits into
developfrom
feature/sign-typed-v4
Oct 22, 2019
Merged

Feature: sign typed message v4#161
estebanmino merged 4 commits into
developfrom
feature/sign-typed-v4

Conversation

@estebanmino

@estebanminoestebanmino commented Oct 16, 2019

Copy link
Copy Markdown
Contributor

This PR adds support for sign typed messages v4 in KeyringController's method signTypedMessage using the new method from eth-sig-util. Added and updated tests, instead of checking signatures against non-empty, tests are now checking against a signature recovered account.

Related MetaMask/metamask-mobile#1055

@brunobar79brunobar79 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.

🔥

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #161 into develop will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@## develop #161 +/- ##
======================================
Coverage 100% 100% ======================================
Files 23 23 Lines 1497 1498 +1 Branches 209 209 ======================================
+ Hits 1497 1498 +1
Impacted FilesCoverage Δ
src/keyring/KeyringController.ts100% <100%> (ø)⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update edb19a1...9159330. Read the comment docs.

@estebanmino
estebanmino merged commit 5f26462 into developOct 22, 2019
@whymarrh
whymarrh deleted the feature/sign-typed-v4 branch November 5, 2019 17:43
Mrtenz pushed a commit that referenced this pull request Oct 16, 2025
Bumps [@metamask/eth-sig-util](https://github.com/MetaMask/eth-sig-util) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/MetaMask/eth-sig-util/releases)
- [Changelog](https://github.com/MetaMask/eth-sig-util/blob/main/CHANGELOG.md)
- [Commits](MetaMask/eth-sig-util@v5.0.0...v5.0.2)
---
updated-dependencies:
- dependency-name: "@metamask/eth-sig-util"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Mrtenz pushed a commit to Mrtenz/core that referenced this pull request Jun 17, 2026
Both the extension and mobile have been on Node 16 for a while now, so
this should be safe to do.
Co-authored-by: legobt <6wbvkn0j@anonaddy.me>
Sign up for freeto 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

@estebanmino@codecov-io@brunobar79