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

compute-units-per-second ignored on local fork #1366

Open
Silur opened this issue Dec 5, 2024 · 0 comments
Open

compute-units-per-second ignored on local fork #1366

Silur opened this issue Dec 5, 2024 · 0 comments

Comments

@Silur
Copy link

Silur commented Dec 5, 2024

Running an anvil fork as follows:

anvil --version
# anvil 0.2.0 (e5dbb7a 2024-12-03T00:24:42.571016376Z)
anvil -f $ALCHEMY_URL --compute-units-per-second 100

And launching a fork test on it as follows:

forge --version
# forge 0.2.0 (e5dbb7a 2024-12-03T00:24:42.577356416Z)
forge test --rpc-url=http://localhost:8545 --compute-units-per-second 100

Seems to ignore the CUPS value.
The problem is even more visible when the fork is created against a more heavily rate-limited RPC where even with a CUPS value of 1, the fork quickly gets 429 errors and the request logs show no sign of throttling

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

No branches or pull requests

1 participant