Skip to content
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

linera-service: give ClientContext access to storage #2125

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

Twey
Copy link
Contributor

@Twey Twey commented Jun 12, 2024

Motivation

In the future, the ClientContext will contain a Client, which needs to be constructed with access to a Storage instance. However, currently the ClientContext is constructed outside the Job, which is the only place the Storage is available.

Proposal

Move the construction of the ClientContext into the Job, so it has access to storage.

Test Plan

CI.

Release Plan

None required.

Links

@Twey Twey changed the title `ClientContext ClientContext: construct with access to storage Jun 12, 2024
@Twey Twey changed the title ClientContext: construct with access to storage linera-service: give ClientContext access to storage Jun 12, 2024
@Twey Twey force-pushed the 06-12-Client_context_storage branch 2 times, most recently from f497736 to 2bf62be Compare June 12, 2024 16:47
@Twey Twey force-pushed the 06-12-Client_context_storage branch from 2bf62be to 9900d04 Compare June 12, 2024 17:03
@Twey Twey marked this pull request as ready for review June 12, 2024 18:04
@Twey Twey merged commit a7a6fe8 into linera-io:main Jun 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants