Skip to content

v2.0.1 - #246

Merged
whymarrh merged 2 commits into
developfrom
v2.0.1
Jun 18, 2020
Merged

v2.0.1#246
whymarrh merged 2 commits into
developfrom
v2.0.1

Conversation

@whymarrh

Copy link
Copy Markdown
Contributor

This PR represents v2.0.1.

@whymarrh
whymarrh marked this pull request as ready for review June 18, 2020 13:47
@whymarrh
whymarrh requested a review from a team as a code owner June 18, 2020 13:47

@Gudahtt Gudahtt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@whymarrh
whymarrh merged commit 6b8ede1 into develop Jun 18, 2020
@whymarrh
whymarrh deleted the v2.0.1 branch June 18, 2020 13:53
@whymarrh

Copy link
Copy Markdown
Contributor Author

A new version of the package @metamask/controllers (2.0.1) was published at 2020-06-18T13:56:00.704Z from [redacted]. The shasum of this package was 33b0e2826fb6d4aa582acaff6b347e6abe0f54f5.

Mrtenz pushed a commit to Mrtenz/core that referenced this pull request Jun 17, 2026
Naz-Ovh pushed a commit to 0x-fork/metamask-core that referenced this pull request Sep 13, 2026
### What is the current state of things and why does it need to change?

Mobile app and some controllers is using `toChecksumAddress` from
`ethereumjs-util` package but this function is quite slow because of
crypto operations happening inside. I plan to replace it with function
from this package which is doing crypto operations too but it's memoized
at least.

Memoization should help quite a lot because address pool is usually
quite limited. I also made implementation in this package 4x faster and
added few more addresses to test file.

<img width="536" alt="Screenshot 2025-06-26 at 21 06 11"
src="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/user-attachments/assets/265f307a-3803-48a9-839b-867e1312ea8c"
/>
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