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

Batch ledger accesses when calling User_command.to_verifiable on a bundle of commands #11705

Open
nholland94 opened this issue Aug 24, 2022 · 0 comments

Comments

@nholland94
Copy link
Member

In order to convert a user command to its verifiable format, verification keys required for verifying parties commands need to be loaded from the ledger. However, in the current implementation, we will do n queries to the ledger for this information rather than 1 since we call to_verifiable in a loop. We should update the code so that we can call to_verifiable in a way such that we can request all of the verification keys from the ledger in batch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants