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 rate limit error code in fetch.ts #259

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SebastienGllmt
Copy link

@SebastienGllmt SebastienGllmt commented Oct 23, 2023

According to the HTML list of error codes, 429 is what is returned on rate limiting errors (empirically, Arbitrum's RPC node also uses 429)

I believe the current value is a mistake and was meant as a placeholder, given 418 is the joke error code 418 I'm a teapot

I could be wrong and maybe some service returns this value. Strangely, this 418 value persists all the way back since 2017 when the file was originally created, so I don't know the context for this this was used

@SebastienGllmt SebastienGllmt requested a review from a team as a code owner October 23, 2023 23:00
@legobeat legobeat requested review from a team December 10, 2023 08:14
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.

2 participants