Open ZenGround0 opened 3 weeks ago
Note: this is the approach we used for DDO. Though this time I think one extra data per call is fine, no need to have an array per individual operation in a batch
Makes sense, definitely at least for the non-prove calls
The PDP Listener interface should allow an extra data param to be threaded through from the caller. This means we should add extra data params into the main PDP interface to allow caller to talk directly to the listener. This lets us use the safer, cleaner listener pattern but still allow for protocol extensions in base PDP that allow offchain auth and other extensions. The canonical example is an application that allows PDP client to fully determine the allowlist of valid cids to be added to proofset.