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

Method deployment

fendermint/testing/materializer/src/testnet.rs:172–176  ·  view source on GitHub ↗

Get a deployment by subnet.

(&self, name: &SubnetName)

Source from the content-addressed store, hash-verified

170
171 /// Get a deployment by subnet.
172 pub fn deployment(&self, name: &SubnetName) -> anyhow::Result<&M::Deployment> {
173 self.deployments
174 .get(name)
175 .ok_or_else(|| anyhow!("deployment for {name:?} does not exist"))
176 }
177
178 /// List all the nodes in a subnet.
179 pub fn nodes_by_subnet(&self, subnet_name: &SubnetName) -> Vec<&M::Node> {

Callers 3

submit_configMethod · 0.80
create_nodeMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected