After sending a transaction the DEFAULT_FORNO_URL gets hit at least once per second indefinitely attempting to get the transaction receipt with requests containing the same body.
Desired behavior
The DEFAULT_FORNO_URL should not be polled indefinitely to get the transaction receipt. An exponential back-off and circuit breaker seems appropriate.
Steps to Reproduce
Prerequisites: Run the app in dev mode on either Mainnet or Alfajores. Have a tool such as flipper to observe network requests.
Fund this account.
Send a transaction.
Observe network requests hitting the DEFAULT_FORNO_URL - forno.celo.org or alfajores-forno.celo-testnet.org
Current behavior
After sending a transaction the DEFAULT_FORNO_URL gets hit at least once per second indefinitely attempting to get the transaction receipt with requests containing the same body.
Desired behavior
The DEFAULT_FORNO_URL should not be polled indefinitely to get the transaction receipt. An exponential back-off and circuit breaker seems appropriate.
Steps to Reproduce
Prerequisites: Run the app in dev mode on either Mainnet or Alfajores. Have a tool such as flipper to observe network requests.
Versions
Valora 1.35.0