-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pre-fill anchors in VC flow This updates the storage to store (a digest of) principals of visited dapps. This allows the VC flow to know (in the general, best case scenario) which anchor (identity number) the user is intending to use. The storage migration includes three things: * Anchors are not written directly as `{ 10000: <data> }` anymore but are nested as `{ anchors: { 10000: <data> } }` to allow for a new top-level field `hasher` which is global to all anchors. * Said new field `hasher` is introduced * Anchors themselves now have a new field, `knownPrincipalDigests`. See storage module documentation for more information on the digests. * Improve principal storage & test * Prune old principals
- Loading branch information
Showing
6 changed files
with
494 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.