L2 Node: Instant confirmation empty blocks can include delayed txns
What
Fix delayed inbox message inclusion logic when instant confirmations are enabled.
Why
Delayed inbox messages can never be included in empty blocks.
How
state.selected_delayed_txns and state.validated_txns are only manipulated by instant confirmation logic. We want to verify that:
- Standard block production is used if IC disabled
- Always use accumulated transactions if delayed txns have been selected through instant confirmations
- When instant confirmation views a soon-to-be produced block as empty, force delayed txns selection
Edited by plissi