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

crypto: consistent api across keys #5214

Merged
merged 2 commits into from
Aug 7, 2020
Merged

crypto: consistent api across keys #5214

merged 2 commits into from
Aug 7, 2020

Conversation

tac0turtle
Copy link
Contributor

Description

This Pr changes GenPrivKeySecp256k1 to GenPrivKeyFromSecret to be consistent with the other keys. Also the previous name was not descriptive on what it did.

Closes: #XXX

@tac0turtle tac0turtle added the C:crypto Component: Crypto label Aug 7, 2020
@tac0turtle tac0turtle self-assigned this Aug 7, 2020
@auto-comment
Copy link

auto-comment bot commented Aug 7, 2020

👋 Thanks for creating a PR!

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Wrote tests
  • Updated CHANGELOG_PENDING.md
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Updated relevant documentation (docs/) and code comments
  • Re-reviewed Files changed in the Github PR explorer
  • Applied Appropriate Labels

Thank you for your contribution to Tendermint! 🚀

@codecov
Copy link

codecov bot commented Aug 7, 2020

Codecov Report

Merging #5214 into master will increase coverage by 1.60%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5214      +/-   ##
==========================================
+ Coverage   60.87%   62.47%   +1.60%     
==========================================
  Files         203      259      +56     
  Lines       20369    27110    +6741     
==========================================
+ Hits        12400    16938    +4538     
- Misses       6905     8700    +1795     
- Partials     1064     1472     +408     
Impacted Files Coverage Δ
crypto/secp256k1/secp256k1.go 63.63% <100.00%> (ø)
blockchain/v0/reactor.go 65.11% <0.00%> (-4.66%) ⬇️
consensus/reactor.go 75.11% <0.00%> (-0.47%) ⬇️
proxy/multi_app_conn.go 58.02% <0.00%> (ø)
p2p/base_reactor.go 81.81% <0.00%> (ø)
light/rpc/client.go 0.00% <0.00%> (ø)
privval/signer_endpoint.go 81.57% <0.00%> (ø)
mempool/metrics.go 16.66% <0.00%> (ø)
p2p/pex/pex_reactor.go 80.95% <0.00%> (ø)
libs/tempfile/tempfile.go 81.39% <0.00%> (ø)
... and 54 more

@tac0turtle tac0turtle added the S:automerge Automatically merge PR when requirements pass label Aug 7, 2020
@mergify mergify bot merged commit 1c9a264 into master Aug 7, 2020
@mergify mergify bot deleted the marko/consistent_api branch August 7, 2020 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:crypto Component: Crypto S:automerge Automatically merge PR when requirements pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants