hyperledger-labs / fabric-smart-client

The Fabric Smart Client is a new Fabric Client that lets you focus on the business processes and simplifies the development of Fabric-based distributed application.
Apache License 2.0
52 stars 52 forks source link

KVS versioning abstraction #665

Closed mbrandenburger closed 19 hours ago

mbrandenburger commented 2 months ago

The current vault impl uses by default the Fabric RWs versioning protos to capture the version of key-value pairs. As this works well for Fabric, other platforms, such as Orion, may need to adopt that versioning scheme.

This issue proposes an KVS versioning abstraction used by the vault, and thereby, make it independent of the actual platform in use. For instance, the vault could store the version information as bytes and the platform provides a marshaller impl to convert the bytes into the proper format according to the platform.

adecaro commented 19 hours ago

addressed