fn l2_storage_tx(tx_format: i32) -> StorageTransaction {
    StorageTransaction {
        hash: H256::random().as_bytes().to_vec(),
        data: serde_json::to_value(default_execute().clone()).expect("invalid value"),
        received_at: Utc::now().naive_utc(),
        tx_format: Some(tx_format),
        nonce: Some(11),
        max_fee_per_gas: Some(BigDecimal::from(555)),
        max_priority_fee_per_gas: Some(BigDecimal::from(666)),
        gas_per_pubdata_limit: Some(BigDecimal::from(444)),
        gas_limit: Some(BigDecimal::from(999)),
        paymaster: Address::random().as_bytes().to_vec(),
        initiator_address: Address::random().as_bytes().to_vec(),
        input: Some(
            hex::decode(
                "a9059cbb0000000000000000000000003d96c32a3\
    c7c445d188805825eb57aab4e0bfa90000000000000000000000000000000000000000000000000000000001dcd6500",
            )
            .unwrap(),
        ),
        paymaster_input: hex::decode(
            "a9059cbb00000000000000000000000058d595f318167d5\
    af45d9e44ade4348dd4e8cdfd0000000000000000000000000000000000000000000000000000000157d600d0",
        )
        .unwrap(),
        // correctness of the signature doesn't matter for this test
        signature: Some("ABCD".as_bytes().to_vec()),
        ..StorageTransaction::default()
    }
}
Used for storage transaction to layer 2 transaction tests
core/lib/dal/src/models/tests.rs