You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/diem/execution/executor/src/mock_vm
    
    the code of the file until where you have to start completion: // Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0

#[cfg(test)]
mod mock_vm_test;

use diem_crypto::{ed25519::Ed25519PrivateKey, PrivateKey, Uniform};
use diem_state_view::StateView;
use diem_types::{
    access_path::AccessPath,
    account_address::A
    
fn gen_genesis_writeset() -> WriteSet {
    let mut write_set = WriteSetMut::default();
    let validator_set_ap = ValidatorSet::CONFIG_ID.access_path();
    write_set.push((
        validator_set_ap,
        WriteOp::Value(bcs::to_bytes(&ValidatorSet::new(vec![])).unwrap()),
    ));
    write_set.push((
        AccessPath::new(config_address(), ConfigurationResource::resource_path()),
        WriteOp::Value(bcs::to_bytes(&ConfigurationResource::default()).unwrap()),
    ));
    write_set
        .freeze()
        .expect("genesis writeset should be valid")
}