pub(crate) fn random_upgrade_tx(tx_number: u64) -> ProtocolUpgradeTx {
    let mut tx = ProtocolUpgradeTx {
        execute: Default::default(),
        common_data: Default::default(),
        received_timestamp_ms: 0,
    };
    tx.common_data.canonical_tx_hash = H256::from_low_u64_be(tx_number);
    tx
}
Creates a random protocol upgrade transaction. Provided tx number would be used as a transaction hash,
so it's easier to understand which transaction caused test to fail.
core/node/state_keeper/src/testonly/test_batch_executor.rs