pub(crate) fn l2_block_sealed_with<F: FnOnce(&UpdatesManager) + Send + 'static>(
        mut self,
        description: &'static str,
        f: F,
    ) -> Self {
        self.actions
            .push_back(ScenarioItem::L2BlockSeal(description, Some(Box::new(f))));
        self
    }
Expects the L2 block to be sealed.
Accepts a function that would be given access to the received L2 block seal params, which can implement
additional assertions on the sealed L2 block.
core/node/state_keeper/src/testonly/test_batch_executor.rs