storacha-network / specs

🏅 Technical specifications for the w3up protocol stack
17 stars 0 forks source link

fix: w3filecoin spec separate capabilities to queue and dequeue #73

Closed vasco-santos closed 10 months ago

vasco-santos commented 11 months ago

Per discussion in https://github.com/web3-storage/specs/pull/71#issuecomment-1670091520 , this PR separates capabilities of queue and enqueue into different ones, so that we can have guarantee that storefront requester are who they are by sending their DID in the with field, that can then be used in the nb field for the dequeue.

vasco-santos commented 11 months ago

@Gozala part of me feels that we could do this just for the aggregator actor. However, it also felt weird that same pattern was handled differently and ended up changing the 3 of them. Thoughts?