- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2
No evidence submission by the contract #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| ✅ Deploy Preview for curate-v2 ready!
 To edit notification comments on pull requests, go to your Netlify project configuration. | 
| WalkthroughThe change removes the EvidenceModule from arbitration parameters and shifts evidence handling to events. RequestSubmitted now includes an evidence string, and a new RequestChallenged event carries challenge evidence. Initialization and arbitration parameter updates no longer reference evidenceModule. Evidence submission calls are removed in favor of emitting event data. Changes
 Sequence Diagram(s)sequenceDiagram
  autonumber
  participant U as User
  participant C as CurateV2
  participant A as Arbitrator (configured)
  rect rgb(240,248,255)
  note over C: New flow (events carry evidence)
  U->>C: submitItem/removeItem(..., evidence)
  C-->>U: emit RequestSubmitted(itemID, requestID, evidence)
  U->>C: challengeRequest(..., evidence)
  C-->>U: emit RequestChallenged(itemID, requestID, evidence)
  C->>A: createDispute(..., arbitratorExtraData)
  A-->>C: ruling(...)
  end
sequenceDiagram
  autonumber
  participant U as User
  participant C as CurateV2
  participant EM as EvidenceModule
  participant A as Arbitrator
  rect rgb(253,246,227)
  note over C,EM: Prior flow (removed)
  U->>C: submit/challenge(..., evidence)
  C->>EM: submitEvidence(itemID, requestID, evidence)
  EM-->>C: ack
  C->>A: createDispute(...)
  A-->>C: ruling(...)
  end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
 Suggested reviewers
 Poem
 Pre-merge checks and finishing touches✅ Passed checks (3 passed)
 ✨ Finishing touches🧪 Generate unit tests (beta)
 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
 ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
 🔇 Additional comments (6)
 Comment  | 
PR-Codex overview
This PR focuses on enhancing the
CurateV2contract by modifying event emissions to include evidence data and removing theevidenceModulefrom theArbitrationParamsstructure, streamlining the arbitration process.Detailed summary
RequestSubmittedevent to include_evidenceparameter.RequestChallengedevent with_evidenceparameter.evidenceModulefromArbitrationParamsstructure.ArbitrationParamsby excludingevidenceModule.RequestSubmittedandRequestChallengedevents.Summary by CodeRabbit
New Features
Refactor
Documentation