[go: up one dir, main page]

evm/node: only call caller callback with `Lwt.dont_wait`

Checklist

- [ ] Provide automatic testing.

- [ ] Add an item in the changelog

What

The tx_queue allows to instrument the transaction to inject with callback. In the tx_queue of floodgate, the callback called with async were not modifying the tx_queue state.

Why

Because if we try to flood with lots of txs, we easily create an instable state for the tx_queue.

How

move the Lwt.async to only call the user defined callback and not the instrumented one for the tx_queue.

Merge request reports

Loading