Skip to content

Address false claims of a compute order being executed. (OrderExecuted) #381

@alexcos20

Description

@alexcos20

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions