-
Notifications
You must be signed in to change notification settings - Fork 45
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
Ruler (aka the centralized arbitrator) - Contract only #1517
Conversation
❌ Deploy Preview for kleros-v2-testnet failed. Why did it fail? →
|
Code Climate has analyzed commit 68e1048 and detected 13 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Quality Gate failedFailed conditions |
❌ Deploy Preview for kleros-v2-university failed. Why did it fail? →
|
68e1048
to
ffa619c
Compare
Caution Review failedThe pull request is closed. WalkthroughThe recent changes introduce a robust Kleros arbitration system within a Hardhat deployment framework. New contracts like Changes
Sequence Diagram(s)sequenceDiagram
participant Deployer
participant KlerosCoreRuler
participant DisputeResolverRuler
participant Arbitrator
participant TemplateRegistry
Deployer->>KlerosCoreRuler: deploy()
KlerosCoreRuler->>DisputeResolverRuler: initialize()
DisputeResolverRuler->>Arbitrator: set arbitrator()
DisputeResolverRuler->>TemplateRegistry: register templates()
KlerosCoreRuler->>KlerosCoreRuler: manage disputes()
KlerosCoreRuler->>KlerosCoreRuler: emit events()
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
❌ Deploy Preview for kleros-v2-neo failed. Why did it fail? →
|
Quality Gate passedIssues Measures |
PR-Codex overview
This PR introduces changes related to arbitration resolution in the DisputeResolver and DisputeResolverRuler contracts.
Detailed summary
DisputeResolver
:_createDispute
function to beinternal virtual
.DisputeRequest
event.DisputeResolverRuler
:DisputeResolver
._createDispute
function.Summary by CodeRabbit
New Features
DisputeResolverRuler
, to enhance dispute management within the Kleros ecosystem.KlerosCoreRuler
contract for structured arbitration processes, including juror voting and dispute resolutions.Bug Fixes
DisputeResolver
for accurate dispute tracking.Tests
KlerosCoreRuler
, validating various dispute resolution functionalities.