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

Method create_subnet

fendermint/testing/materializer/src/logging.rs:138–151  ·  view source on GitHub ↗
(
        &'s mut self,
        parent_submit_config: &SubmitConfig<'a, M>,
        subnet_name: &SubnetName,
        subnet_config: &SubnetConfig<'a, M>,
    )

Source from the content-addressed store, hash-verified

136 }
137
138 async fn create_subnet<'s, 'a>(
139 &'s mut self,
140 parent_submit_config: &SubmitConfig<'a, M>,
141 subnet_name: &SubnetName,
142 subnet_config: &SubnetConfig<'a, M>,
143 ) -> anyhow::Result<M::Subnet>
144 where
145 's: 'a,
146 {
147 tracing::info!(%subnet_name, ctx=self.ctx, "create_subnet");
148 self.inner
149 .create_subnet(parent_submit_config, subnet_name, subnet_config)
150 .await
151 }
152
153 async fn fund_subnet<'s, 'a>(
154 &'s mut self,

Callers 1

Calls

no outgoing calls

Tested by 1