-
Notifications
You must be signed in to change notification settings - Fork 52
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
db and vault should treat a key's version generically #684
Conversation
a73f08c
to
706b425
Compare
706b425
to
c2956ca
Compare
|
||
func FromBytes(data []byte) (driver.BlockNum, driver.TxNum, error) { | ||
if len(data) == 0 { | ||
return 0, 0, nil |
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.
Is this not an error?
Block driver.BlockNum | ||
TxNum driver.TxNum | ||
} | ||
type Version = []byte |
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.
Is this different from RawVersion
?
@@ -15,6 +15,8 @@ import ( | |||
"time" | |||
"unicode/utf8" | |||
|
|||
"github.com/hyperledger-labs/fabric-smart-client/platform/common/core/generic/vault/fver" | |||
|
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.
space
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Alexandros Filios <alexandros.filios@ibm.com>
573ab97
to
4dc84b0
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.
LGTM
Waiting on integration with TokenSDK hyperledger-labs/fabric-token-sdk#770
This PR addresses #665