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

[FVM] Cached programs are invalidated every block boundary #6347

Closed
janezpodhostnik opened this issue Aug 15, 2024 · 0 comments · Fixed by #6377
Closed

[FVM] Cached programs are invalidated every block boundary #6347

janezpodhostnik opened this issue Aug 15, 2024 · 0 comments · Fixed by #6377
Assignees

Comments

@janezpodhostnik
Copy link
Contributor

janezpodhostnik commented Aug 15, 2024

🐞 Bug Report

Cached programs are invalidated at every block boundary.

This happens due to overly aggressive invalidation where the cache is always invalidated if the system account changes. But since the introduction of random beacon history that happens every block.

We can get significant performance gains fixing this issue!

@janezpodhostnik janezpodhostnik self-assigned this Aug 15, 2024
@janezpodhostnik janezpodhostnik changed the title [FVM] Cached programs are not reported to metrics correctly [FVM] Cached programs are invalidated every block boundary Aug 16, 2024
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 a pull request may close this issue.

1 participant