MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / create_node

Method create_node

fendermint/testing/materializer/src/validation.rs:265–275  ·  view source on GitHub ↗
(
        &'s mut self,
        node_name: &NodeName,
        _node_config: &NodeConfig<'a, ValidationMaterials>,
    )

Source from the content-addressed store, hash-verified

263 }
264
265 async fn create_node<'s, 'a>(
266 &'s mut self,
267 node_name: &NodeName,
268 _node_config: &NodeConfig<'a, ValidationMaterials>,
269 ) -> anyhow::Result<VNode>
270 where
271 's: 'a,
272 {
273 self.ensure_contains(node_name)?;
274 Ok(node_name.clone())
275 }
276
277 async fn start_node<'s, 'a>(
278 &'s mut self,

Callers

nothing calls this directly

Calls 1

ensure_containsMethod · 0.80

Tested by

no test coverage detected