Previously any failure in fetching receipt would result in waitForTransaction failing after 20 attempts. This means non-related errors (like rate limits) would cause it to fail, even though transaction has completed.
This PR changes this behavior, it will only fail if:
Transaction was missing for 60 attempts (2 minutes).
Summary
Previously any failure in fetching receipt would result in waitForTransaction failing after 20 attempts. This means non-related errors (like rate limits) would cause it to fail, even though transaction has completed.
This PR changes this behavior, it will only fail if:
Closes: https://github.com/snapshot-labs/sx-monorepo/issues/409
How to test