// A special configuration for testing memory capacity limits.
A special configuration for testing memory capacity limits.
A special configuration for testing memory capacity limits .
pub fn config_memory_capacity() -> InternetComputer {
    InternetComputer::new().add_subnet(
        Subnet::fast_single_node(SubnetType::System)
            // A tiny memory capacity
            .with_memory_capacity(20 * 1024 * 1024 /* 20 MiB */),
    )
}
pub fn config_memory_capacity ( ) -> InternetComputer { InternetComputer :: new ( ) . add_subnet ( Subnet :: fast_single_node ( SubnetType :: System ) // A tiny memory capacity . with_memory_capacity ( 20 * 1024 * 1024 /* 20 MiB */ ) , ) }
A special configuration for testing memory capacity limits.
A special configuration for testing memory capacity limits .