-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linera-client
: add IndexedDB persistence backend for the wallet (#2420
) * `linera_client::persistent`: support async persistence * `linera-client`: add IndexedDB persistence implementation * `linera_client::persistent`: refactor `mutate` into extension traits so we can use `trait-variant` * `linera-client`: remove `localStorage` support * `linera_client::persistent::dirty`: use `derive_more` * `linera-execution`: update deprecated `derive_more` syntax * `linera-client`: see if failing to save some changes is problematic * CI: use `cargo run` for the storage-service instead of building and running separately * `linera-service`: save the wallet after creation * `linera-client`: only build IndexedDB support on the Web * `linera-client`: fix benchmarking build * `linera-service`: fix `remote_net.rs` * `linera-client`: clippy fixes * Documentation tweaks Co-authored-by: Andreas Fackler <afck@users.noreply.github.com> Signed-off-by: James Kay <james.kay@linera.io> * `linera-client`: apply suggestions from code review * `linera_client::persistent::indexed_db`: simplify and generalize API * `linera-client`: don't require that the user construct a `WalletState` * `linera-base`: use the Web console for tracing output * `linera-client`: add tracing and fix a dirtiness bug * Cleanup --------- Signed-off-by: James Kay <james.kay@linera.io> Co-authored-by: Andreas Fackler <afck@users.noreply.github.com>
- Loading branch information
Showing
30 changed files
with
699 additions
and
360 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.