async fn store_l2_block(
    storage: &mut Connection<'_, Core>,
    number: L2BlockNumber,
    transaction_results: &[TransactionExecutionResult],
) -> anyhow::Result<L2BlockHeader> {
    let header = create_l2_block(number.0);
    store_custom_l2_block(storage, &header, transaction_results).await?;
    Ok(header)
}
Stores L2 block and returns the L2 block header.
core/node/api_server/src/web3/tests/mod.rs