-
Notifications
You must be signed in to change notification settings - Fork 255
feat_: Update alias generated #6342
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
base: develop
Are you sure you want to change the base?
Conversation
Jenkins BuildsClick to see older builds (74)
|
91989c3
to
efe7105
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6342 +/- ##
===========================================
+ Coverage 61.09% 61.12% +0.02%
===========================================
Files 867 867
Lines 112673 112668 -5
===========================================
+ Hits 68843 68867 +24
+ Misses 35851 35846 -5
+ Partials 7979 7955 -24
Flags with carried forward coverage won't be shown. Click here to find out more.
|
3635971
to
07005bb
Compare
d912c7d
to
4a938d1
Compare
@igor-sirotin @ilmotta The comments have been addressed, could you please review again? Thank you for the feedback! |
protocol/contact.go
Outdated
return abbreviatedKey | ||
} | ||
return "" | ||
func getShortenedCompressedKey(compressedKey string) string { |
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.
It seems that we can delete this function, which has only one usage and directly use alias.ShortenedCompressedKey(compressedKey)
1283819
to
c1812f9
Compare
@igor-sirotin comments addressed, could you review again please? |
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.
Thanks, looks good 👍
bb9ff68
to
eac4403
Compare
@ulisesmac seems that |
@igor-sirotin Thank you, I'll check the tests and solve it. |
- Changed from the 3-words name to be the compressed key with an ellipsis - Update the shortened compressed key to be consistent with the alias - Add more tests about the public key length received
eac4403
to
0f966a0
Compare
This PR is required to acomplish
The context about this change is mainly in this Discord thread.
Summary
This PR changes the implementation of
GenerateFromPublicKeyString
to return a compressed key with ellipsis instead of the 3-words name.Important changes: