sui_graphql_rpc::test_infra::cluster

Function serve_executor

Source
pub async fn serve_executor(
    executor: Arc<dyn RpcStateReader + Send + Sync>,
    snapshot_config: Option<SnapshotLagConfig>,
    retention_config: Option<RetentionConfig>,
    data_ingestion_path: PathBuf,
) -> ExecutorCluster
Expand description

Takes in a simulated instantiation of a Sui blockchain and builds a cluster around it. This cluster is typically used in e2e tests to emulate and test behaviors.