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

Add Eth API Block Cache #10520

Closed
fridrik01 opened this issue Mar 20, 2023 · 0 comments · Fixed by #12359
Closed

Add Eth API Block Cache #10520

fridrik01 opened this issue Mar 20, 2023 · 0 comments · Fixed by #12359

Comments

@fridrik01
Copy link
Contributor

We can cache recently requested blocks at the Eth API layer, saving quite a bit of time and state accesses. We’ll probably want to cache both the “full tx” version and the “tx hash” version. This is likely the most important cache for the Eth API.

We can consider using this cache to help calculate fee history, although the fee history cache may end up being significantly larger.

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

Successfully merging a pull request may close this issue.

3 participants