[seal] batched key server requests#263
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
|
looks like integration test is failing, i am doing some investigation as to what's causing it now. |
|
|
hayes-mysten
left a comment
There was a problem hiding this comment.
I think this overall seems worth while, but we probably want to add some test coverage for these changes
|
Duplicates is not an issue after #293 has been merged, since |
|
Correct, your PR is a solid approach. However, this should still be viable in terms of batching the rpc requests for object data. Previously we used getObject for each passed ID, now we take all the passed ID's and make use of getObjects |
|
Ah, yes. Then this still makes sense, but you don't need to use a Set to avoid duplicates. |
Description
Deduplicates the passed object of key server object ID's so they are only fetched one time, and then returns the preserved array including the fetched content.
Test plan
unit tests