bodhi.js
bodhi.js copied to clipboard
Implement failing tx blacklist locally
Substrate node by default ban failed transaction for 5 mins and attempt to resubmit failed tx will result the transaction is banned error.
eth rpc adapter should have a local in memory cache of failed tx hash and error and before submit tx, should check with the cache and return the error instead submitting it to the Substrate node.
The entry in cache should expire after 5 mins.
