pub fn last_sealed_batch(&self) -> L1BatchNumber {
        if self.batch_sealed {
            self.last_batch
        } else {
            self.last_batch - 1
        }
    }
Last L1 batch that has been sealed and will have
metadata computed eventually.
core/node/consensus/src/testonly.rs