bodhi.js icon indicating copy to clipboard operation
bodhi.js copied to clipboard

Implement failing tx blacklist locally

Open xlc opened this issue 3 years ago • 1 comments

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.

xlc avatar Mar 31 '22 00:03 xlc

image

gluneau avatar Apr 29 '22 12:04 gluneau