You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is designed as a git-like patch chain, so there is a possibility to implement a revert function, which allows the user to undo a specific change he/she has accidentally made before.
This revert action should also be a link in the patch chain, and should be signed by the user’s Avatar.
When a revert is done, the entire KV state from the beginning of the KVChain should be updated.
Modify model/kv_chains (the place to store the whole chain), model/kv (snapshot of a chain’s final status) and /controller to add a action field with possible values create and revert .
Description
KVService is a Zero-Trust Key-Value storage space for any user who has an elliptic curve-based asymmetric key pair (aka Avatar.
It is designed as a
git
-like patch chain, so there is a possibility to implement arevert
function, which allows the user to undo a specific change he/she has accidentally made before.revert
action should also be a link in the patch chain, and should be signed by the user’s Avatar.revert
is done, the entireKV
state from the beginning of theKVChain
should be updated.Have a look at ProofService’s Proof Chain to help you understand this chain structure.
Expected outcomes
Modify
model/kv_chains
(the place to store the whole chain),model/kv
(snapshot of a chain’s final status) and/controller
to add aaction
field with possible valuescreate
andrevert
.And correctly handles
action: revert
request.Don’t forget to write unit tests.
Skills required
Mentor
Nyk Ma @nykma
Expected size of project
175h
Level
Easy
The text was updated successfully, but these errors were encountered: