-
Notifications
You must be signed in to change notification settings - Fork 19
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
Adding abstractions for the omni-account in the worker #3116
Adding abstractions for the omni-account in the worker #3116
Conversation
…am-idgraph-use-in-worker
…am-idgraph-use-in-worker
…am-idgraph-use-in-worker
tee-worker/identity/litentry/core/omni-account/src/repository.rs
Outdated
Show resolved
Hide resolved
The idea was that when handling a trusted call, we are able to:
Does it makes sense? Do you had another approach in mind? |
Another approach could be:
This way we won't need to inject anything into the executor. What do you guys think? Any other ideas? @Kailai-Wang @kziemianek |
…am-idgraph-use-in-worker
…am-idgraph-use-in-worker
This PR introduces some abstractions related to the omni-account in the worker.
The main changes in this PR are:
OmniAccountRepository
is an abstraction to request data from the parachain andInMemoryStore
is an abstraction to store and manage the OmniAccount Members in RAM.header
parameter toget_storage_keys
.TODO: