-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Add EnsController #151
Add EnsController #151
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #151 +/- ##
======================================
Coverage 100% 100%
======================================
Files 21 22 +1
Lines 1439 1484 +45
Branches 193 206 +13
======================================
+ Hits 1439 1484 +45
Continue to review full report at Codecov.
|
b18139e
to
d57c54b
Compare
f9a2382
to
4cc0b37
Compare
4cc0b37
to
0ba246a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, just one question
add EnsController and tests use ENS name normalization in address book
add EnsController and tests use ENS name normalization in address book
Adds an
EnsController
. It keeps track of ENS name and their resolved addresses for the purpose of taking some useful action (e.g. warning the user in the UI).Addresses and ENS names (see
util.ts:normalizeEnsName
) are normalized before being added. ENS name normalization added to address book controller as well.ENS name normalization and verification should be updated in the extension if this change is integrated. That should amount to importing
normalizeEnsName
fromsrc/util.ts
.