Skip to content

Conversation

@mattsse
Copy link
Member

@mattsse mattsse commented Jan 9, 2024

return true
}

if *code == -32005 && message.contains("archive request rate exceeded") {
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a comment for it?

Copy link
Member Author

Choose a reason for hiding this comment

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

actually, this is weird. it should have been caught by this already:

https://github.com/foundry-rs/foundry/blob/master/crates/common/src/provider/retry.rs#L77-L78

which makes me think that retryprovider is not properly configured or it's not properly handling the errors:

https://github.com/foundry-rs/foundry/blob/master/crates/common/src/provider/retry.rs#L31-L44

@mattsse mattsse merged commit 05d6062 into foundry-rs:master Jan 9, 2024
RPate97 pushed a commit to RPate97/foundry that referenced this pull request Jan 12, 2024
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