pub trait ArbScheduledTxDrain {
// Required method
fn drain_scheduled_txs(&mut self) -> Vec<Vec<u8>>;
}Expand description
Extension trait for draining scheduled transactions from the executor.
After executing a SubmitRetryable or a manual Redeem precompile call, auto-redeem retry transactions may be queued. The block producer must drain and re-inject them in the same block.
Required Methods§
Sourcefn drain_scheduled_txs(&mut self) -> Vec<Vec<u8>>
fn drain_scheduled_txs(&mut self) -> Vec<Vec<u8>>
Drain any scheduled transactions (e.g. auto-redeem retry txs) produced by the most recently committed transaction.