[Proposal] Intra l2 Message passing from Public to Private Contexts

How are the preimages of the public->private notes communicated to all nodes? Is it by simply emitting an ‘unencrypted log’ containing that data? And if so, how would a node identify that such an unencrypted log as a public->private call (in order to store it somewhere separate)?

Do public->private calls actually need to be stored somewhere separate from other note preimages? If they all live in the same tree, can’t the app which is capable of consuming the note interpret that note and consume it correctly? I suppose, currently, an oracle call to get a note requires a storage slot as argument. But perhaps these notes representing calls from public->private could be ascribed to storage slots?

15 Likes