0xPolygonMiden / miden-node

Reference implementation of the node for the Polygon Miden rollup
MIT License
53 stars 38 forks source link

Implement more robust transaction handling #235

Open phklive opened 9 months ago

phklive commented 9 months ago

Transactions that are received by the Block Producer but that are not valid are stuck in the queue forever and can prevent the node from building further batches ( Deadlock ).

Hence we need a better solution / improvement to the transaction handling in the queue:

GOAL: Implement more robust transaction handling and queue management

bobbinth commented 9 months ago

I would focus this issue on the first point (Implement logic for transaction discarding). Basically, assuming that a transaction passes the verification process and gets into the queue, if for w/e reason, it prevents the block producer from building a block (the most likely reason for this would be a bug somewhere in the block producer), we should discard that transaction.

hackaugusto commented 8 months ago

related: https://github.com/0xPolygonMiden/miden-node/issues/191 https://github.com/0xPolygonMiden/miden-node/issues/185