reth_optimism_node::utils

Function advance_chain

Source
pub async fn advance_chain(
    length: usize,
    node: &mut NodeHelperType<OpNode>,
    wallet: Arc<Mutex<Wallet>>,
) -> Result<Vec<(OpBuiltPayload, OpPayloadBuilderAttributes)>>
Available on crate features optimism and test-utils only.
Expand description

Advance the chain with sequential payloads returning them in the end.