You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally, because some precompiles are slow, there are transactions that take disproportionately long to execute (eg over 1ms). We should have a feature that allows us to time out these and drop them.
The text was updated successfully, but these errors were encountered:
We might want to consider using something other than wall time, I could see a pathological case where we discard all txs because of some noisy neighbor. Not sure if revm has some other metrics (besides gas) that we could consider instead.
Also, I had a related idea: instead of outright discarding the transaction, we could select! on the EVM async future and a timer, and if the timer is hit send the EVM future to a "low priority" channel that we continue to try to execute the transaction on until the next block.
Not sure if doing all that is worth the work though, but could be if these slow txs sometimes still yield value.
Occasionally, because some precompiles are slow, there are transactions that take disproportionately long to execute (eg over 1ms). We should have a feature that allows us to time out these and drop them.
The text was updated successfully, but these errors were encountered: