graphprotocol / block-oracle

MIT License
5 stars 11 forks source link

Don't use exponential backoff for signed transactions #232

Open tilacog opened 1 year ago

tilacog commented 1 year ago

Our JSON RPC connections have an unconditional retry strategy.

While this is useful for requests that only read from the chain, it also obfuscates the new transaction monitoring system.

It's crucial for such a system that transaction failures are detected immediately so it can act on them appropriately.

For this reason, this PR removes the exponential backoff mechanism for JSON RPC clients that emit signed transactions.