Skip to content

linera-client: generalize over Persist<Target = Wallet> implementation #2224

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

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

Twey
Copy link
Contributor

@Twey Twey commented Jul 5, 2024

Motivation

We would like to introduce a browser-compatible storage backend for the wallet in order to manage wallets inside the Web wallet. While #2194 introduced the general framework to do so, the implementations in linera-client remained specific to the filesystem backend.

Proposal

Generalize the implementations of client functionality in linera-client to any implementation of Persist<Target = Wallet>.

Test Plan

CI, since linera-client will be tested by the existing linera-service tests.

Release Plan

Backwards-compatible API change (minor bump).

Links

@Twey Twey force-pushed the 07-05-Generic_Persist branch from c10081a to 9186db2 Compare July 8, 2024 13:37
@Twey Twey force-pushed the 07-05-Generic_Persist branch from 9186db2 to d2430b7 Compare July 8, 2024 13:48
@Twey Twey marked this pull request as ready for review July 9, 2024 10:07
@Twey Twey requested review from ma2bd, afck and jvff July 9, 2024 10:25
@Twey Twey merged commit ab05e6b into linera-io:main Jul 9, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants