Function substrate_test_client::client::new_in_mem [−][src]
pub fn new_in_mem<E, Block, S, RA>(
executor: E,
genesis_storage: &S,
keystore: Option<Arc<dyn SyncCryptoStore + 'static>>,
prometheus_registry: Option<Registry>,
telemetry: Option<TelemetryHandle>,
spawn_handle: Box<dyn SpawnNamed + 'static, Global>,
config: ClientConfig<Block>
) -> Result<Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, E>, Block, RA>, Error> where
Block: Block,
E: CodeExecutor + RuntimeVersionOf,
S: BuildStorage,
Expand description
Create an instance of in-memory client.