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

R4R: hide dbKeybase's constructor #3593

Merged
merged 3 commits into from
Feb 12, 2019
Merged

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Feb 11, 2019

crypto/keys.New(string, string) now returns a lazy keybase
instance. Function's signature has changed, this this is
an SDK Go API breaking change.

Remove client.MockKeyBase, superseded by
crypto/keys.NewInMemory()

Closes: #3592

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote tests
  • Updated relevant documentation (docs/)
  • Added entries in PENDING.md with issue #
  • rereviewed Files changed in the github PR explorer

For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

crypto/keys.New(string, string) now returns a lazy keybase
instance. Function's signature has changed, this this is
an SDK Go API breaking change.

Remove client.MockKeyBase, superseded by
crypto/keys.NewInMemory()

Closes: #3592
@alexanderbez alexanderbez added ready-for-review T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine). labels Feb 11, 2019
@cwgoes
Copy link
Contributor

cwgoes commented Feb 11, 2019

Doesn't build at the moment.

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Changes LGTM apart from one minor change. Also CI is failing.

crypto/keys/types.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Feb 12, 2019

Codecov Report

Merging #3593 into develop will decrease coverage by 0.05%.
The diff coverage is 13.04%.

@@             Coverage Diff             @@
##           develop    #3593      +/-   ##
===========================================
- Coverage    61.47%   61.42%   -0.06%     
===========================================
  Files          186      186              
  Lines        13978    13978              
===========================================
- Hits          8593     8586       -7     
- Misses        4838     4844       +6     
- Partials       547      548       +1

Copy link
Member

@jackzampolin jackzampolin left a comment

Choose a reason for hiding this comment

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

LGTM 👍 way to kill the old keybase 🗡

@jackzampolin jackzampolin merged commit fe548c0 into develop Feb 12, 2019
@jackzampolin jackzampolin deleted the alessio/hide-blocking-keybase branch February 12, 2019 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants