Like [`execute`](Self::execute), but also collects per-block `(L2BlockInfo, output_root)` pairs for all intermediate blocks.
(
self,
)
| 85 | /// Like [`execute`](Self::execute), but also collects per-block `(L2BlockInfo, output_root)` |
| 86 | /// pairs for all intermediate blocks. |
| 87 | pub async fn execute_with_intermediates( |
| 88 | self, |
| 89 | ) -> Result<(Epilogue, Vec<(base_protocol::L2BlockInfo, B256)>), FaultProofProgramError> { |
| 90 | let mut intermediates = Vec::new(); |
| 91 | let epilogue = self |
| 92 | .run_pipeline(|l2_info, output_root| intermediates.push((l2_info, output_root))) |
| 93 | .await?; |
| 94 | Ok((epilogue, intermediates)) |
| 95 | } |
| 96 | |
| 97 | async fn run_pipeline( |
| 98 | self, |
no test coverage detected