async def get_block_record_from_db(self, header_hash: bytes32) -> Optional[BlockRecord]:
    if (header_hash in self.__block_records):
        return self.__block_records[header_hash]
    return (await self.block_store.get_block_record(header_hash))
async def get_block_record_from_db(self, header_hash: bytes32) -> Optional[BlockRecord]:
    if (header_hash in self.__block_records):
        return self.__block_records[header_hash]
    return (await self.block_store.get_block_record(header_hash))