(
&self,
state: Self::State,
genesis: Self::Genesis,
)
| 288 | type Output = I::Output; |
| 289 | |
| 290 | async fn init( |
| 291 | &self, |
| 292 | state: Self::State, |
| 293 | genesis: Self::Genesis, |
| 294 | ) -> anyhow::Result<(Self::State, Self::Output)> { |
| 295 | // TODO (IPC-44): Handle the serialized application state as well as `Genesis`. |
| 296 | let genesis: Genesis = parse_genesis(&genesis)?; |
| 297 | self.inner.init(state, genesis).await |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | #[async_trait] |
no test coverage detected