-
Notifications
You must be signed in to change notification settings - Fork 14
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
Client key for read operations #462
Conversation
Many commits, to be able to make changes in each place separately. Before merging, we may squash them for few |
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.
overall LGTM. Lets sync minor documentation moments
453521e
to
d4dec97
Compare
d4dec97
to
bb13b99
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.
- Conflicts.
- There is a commit about the tests, does that mean that before that commit the tests did not pass? I would not go that way: I think after every commit build and tests should be OK.
- The last commit message does not end with a dot and also it seems more like "Created/Is created" rather than "Creates".
bb13b99
to
d5e1aef
Compare
|
this makes sense, but sometimes you just add unit test which shows some bug (so test fails), and then add fix commit (which in particular fixes test) so u can feel the impact of new changes. Otherwise, test should always pass, yeah |
@smallhive i guess last commit's message looks a bit wierd and out-of-context, we could clearly write but i don't insist, me personally can realize any form |
I just wanted to left some context in extended commit message |
and this is great and must have, but iiuc @carpawell was confused by grammar |
Well, I would not go that way anyway. As it is described in our git page with rules, "This is important to have an ability to bisect problematic changes if there is a need to."
Oh, well, I was not attentive enough then. Hm, it is not declared explicitly but we have an example there:
I would interpret that as a rule that says that any sentence should end with a period (if it is not a header). Anyway, I would say that all the commits we have done until that PR end with dots if they contain a body.
@smallhive, I meant that I did not get the idea of the "Creates in the constructor". Who creates? What are that words about? |
For Read operation Default signer exists by default in client. Signed-off-by: Evgenii Baidakov <[email protected]>
d5e1aef
to
6bfae0f
Compare
Signed-off-by: Evgenii Baidakov <[email protected]>
Instead of SetDefaultSigner, we have ephemeral key, which we generate in the constructor. In other words we have default signer by default. Removed tests are not actual, because these methods can't return ErrMissingSigner any more. closes #429 Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
These methods never return ErrMissingSigner because the signer was created in the constructor and available all time. Signed-off-by: Evgenii Baidakov <[email protected]>
6bfae0f
to
a51cf37
Compare
I got it, I updated the description messages in the commits |
closes #429