MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / create_node

Method create_node

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ensure_containsMethod · 0.80

Tested by

no test coverage detected