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

Reduce the amount of times we add blobs as oracle responses #2620

Open
andresilva91 opened this issue Oct 14, 2024 · 0 comments
Open

Reduce the amount of times we add blobs as oracle responses #2620

andresilva91 opened this issue Oct 14, 2024 · 0 comments

Comments

@andresilva91
Copy link
Contributor

Right now whenever a blob is used, we add that blob as an oracle response. However, in the case of application blobs, we can optimize it a bit by when we're using an application, checking if the execution state has an application state saved for this application. If it does, that means that one of the ancestor blocks already made sure this blob is in our storage. Then we don't need to add it as an oracle response or check if it exists. It will already be there.
If that's not true, add it as an oracle response as before.

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

No branches or pull requests

1 participant