have state generate a cid if there isn't one
4.2.2