pub fn custom_genesis(
        genesis_modules: Vec<CompiledModule>,
        validator_accounts: Option<usize>,
        publishing_options: VMPublishingOption,
    ) -> Self {
        let genesis = vm_genesis::generate_test_genesis(
            &genesis_modules,
            publishing_options,
            validator_accounts,
        );
        Self::from_genesis(genesis.0.write_set())
    }
/// Creates fresh genesis from the stdlib modules passed in.
Creates fresh genesis from the stdlib modules passed in.
Creates fresh genesis from the stdlib modules passed in .
pub fn custom_genesis(
        genesis_modules: Vec<CompiledModule>,
        validator_accounts: Option<usize>,
        publishing_options: VMPublishingOption,
    ) -> Self {
        let genesis = vm_genesis::generate_test_genesis(
            &genesis_modules,
            publishing_options,
            validator_accounts,
        );
        Self::from_genesis(genesis.0.write_set())
    }
pub fn custom_genesis ( genesis_modules : Vec < CompiledModule > , validator_accounts : Option < usize > , publishing_options : VMPublishingOption , ) -> Self { let genesis = vm_genesis :: generate_test_genesis ( & genesis_modules , publishing_options , validator_accounts , ) ; Self :: from_genesis ( genesis . 0 . write_set ( ) ) }
Creates fresh genesis from the stdlib modules passed in.
Creates fresh genesis from the stdlib modules passed in .
genesis_modules
Vec<CompiledModule>
validator_accounts
Option<usize>
publishing_options
VMPublishingOption
genesis_modules
Vec<CompiledModule>
validator_accounts
Option<usize>
publishing_options
VMPublishingOption