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: add CTA for L1 rate limit message #898

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gateway-framework/src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl AuthContext {

if let Some(rate_limiter) = &self.rate_limiter {
if rate_limiter.above_limit(token) {
bail!("Rate limit exceeded. Querying L1 subgraphs is deprecated and will be removed soon.");
bail!("Rate limit exceeded. This endpoint, along with all other endpoints querying subgraphs on L1, will soon be unavailable. Reach out to [email protected] for help transferring to L2, or read the L2 Transfer Tools guide: https://thegraph.com/docs/en/arbitrum/l2-transfer-tools-guide/");
}
rate_limiter.increment(token);
}
Expand Down
Loading