code: func (s *store) InitLastCommittedBlock(blockNum uint64) error {
  	if !(s.isEmpty && !s.batchPending) {
  		return &ErrIllegalCall{"The private data store is not empty. InitLastCommittedBlock() function call is not allowed"}
  	}
  	batch := leveldbhelper.NewUpdateBatch()
  	batch.Put(lastCommittedBlkkey, encodeLastCommittedBlockVal(blockNum))
  	if err := s.db.WriteBatch(batch, true); err != nil {
  		return err
  	}
  	s.isEmpty = false
  	s.lastCommittedBlock = blockNum
  	logger.Debugf("InitLastCommittedBlock set to block [%d]", blockNum)
  	return nil
  }
docs: // InitLastCommittedBlock implements the function in the interface `Store`