pub async fn seal_batch(&mut self) {
        // Each batch ends with an empty block (aka fictive block).
        let mut actions = vec![self.open_block()];
        actions.push(SyncAction::SealBatch);
        self.actions_sender.push_actions(actions).await.unwrap();
        self.batch_sealed = true;
    }
Pushes `SealBatch` command to the `StateKeeper`.
core/node/consensus/src/testonly.rs