Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cache eth_feeHistory call #174

Closed
Nana-EC opened this issue Jun 9, 2022 · 0 comments · Fixed by #175
Closed

Cache eth_feeHistory call #174

Nana-EC opened this issue Jun 9, 2022 · 0 comments · Fixed by #175
Assignees
Labels
enhancement New feature or request P1
Milestone

Comments

@Nana-EC
Copy link
Collaborator

Nana-EC commented Jun 9, 2022

Problem

The eth_feeHistory call involves some consensus node querying.
However, the fees don't change often.

Solution

Cache eth_feeHistory result like we do eth_gasPrice for a limited time

Alternatives

No response

@Nana-EC Nana-EC added enhancement New feature or request P1 labels Jun 9, 2022
@Nana-EC Nana-EC added this to the 0.2.0 milestone Jun 9, 2022
@Nana-EC Nana-EC self-assigned this Jun 9, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request P1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant