What happends after a startOrder ?
Consumer will reach out to provider, trying to download file or start a computeJob
And he succeeds.
Nevertheless, we will claim that he never downloaded or start a computeJob, which leads to claim resolving.
How to fix that ?
Proposal: Have a set of ENV vars, that control how Provider creates the proof:
Parameters:
For any kind of proof, we need the following:
- orderTxId,
- providerSignature, (Provider signs providerData using it's own private key)
- consumerData (Consumer parameters that formed the signature message that Provider received)
- consumerSignature (Consumer signature is passthrough)
- consumerAddress
- providerData:
-
- For download, we need a JSON object that holds: DID, serviceIndex, fileIndex, downloadedBytes
-
- For compute, we need a JSON object that holds: dataset DID, dataset serviceIndex, algo DID, algo serviceIndex, additionalDatasets (DIDs & serviceIndex)
What happends after a startOrder ?
Consumer will reach out to provider, trying to download file or start a computeJob
And he succeeds.
Nevertheless, we will claim that he never downloaded or start a computeJob, which leads to claim resolving.
How to fix that ?
Proposal: Have a set of ENV vars, that control how Provider creates the proof:
Parameters:
For any kind of proof, we need the following: