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

Method new_deployment

fendermint/testing/materializer/src/validation.rs:195–207  ·  view source on GitHub ↗
(
        &'s mut self,
        subnet_name: &SubnetName,
        deployer: &'a VAccount,
        _urls: Vec<Url>,
    )

Source from the content-addressed store, hash-verified

193 }
194
195 async fn new_deployment<'s, 'a>(
196 &'s mut self,
197 subnet_name: &SubnetName,
198 deployer: &'a VAccount,
199 _urls: Vec<Url>,
200 ) -> anyhow::Result<VDeployment>
201 where
202 's: 'a,
203 {
204 self.ensure_contains(subnet_name)?;
205 self.ensure_balance(subnet_name, deployer)?;
206 Ok(subnet_name.clone())
207 }
208
209 fn existing_deployment(
210 &mut self,

Callers

nothing calls this directly

Calls 2

ensure_containsMethod · 0.80
ensure_balanceMethod · 0.80

Tested by

no test coverage detected