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

improve(retryProvider): Avoid retry on eth_call reverts #757

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 25, 2024

  1. improve(retryProvider): Avoid retry on eth_call reverts

    eth_call requests where the provider returns a response indicating
    revert have a near-zero chance of succeeding against another RPC
    provider. Instead of wasting time rotating through the list of RPC
    providers, just throw immediately and let the upper layers handle it.
    
    This will potentially save quite a bit of time in the relayer in cases
    where it unsuccessfully performs a static call to determine whether a
    fill would complete.
    pxrl committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    d2f1c04 View commit details
    Browse the repository at this point in the history