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

fix(anvil): take block count limit in fee history into account #7780

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

golden-expiriensu
Copy link
Contributor

@golden-expiriensu golden-expiriensu commented Apr 25, 2024

Motivation

We wrongly compare specified limit with MAX_BLOCK_COUNT, it is even possible to specify 2000 and receive huge response.
Fixes #7778

Solution

Change max to min

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oopsie, ty

@DaniPopes DaniPopes merged commit 651cec1 into foundry-rs:master Apr 25, 2024
19 checks passed
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 this pull request may close these issues.

Fee history ignores block count
3 participants