-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat(versioning-proxy): implement a versioning proxy standard and derive an Arbitrator proxy #20
Conversation
e3269ea
to
739a55c
Compare
Could you make the proxy a general Arbitrator proxy and not Kleros specific? |
@clesaege OK. |
…ded functionality
return _disputeID; | ||
} | ||
|
||
function appeal(uint256 _disputeID, bytes _extraData) public payable onlyIfDisputeExists(_disputeID) returns(uint256 _newDisputeID) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appeal does not return anything, see ethereum/EIPs#792
So in case the appeals goes to a new arbitrator you have to deal with the fact that disputeID are not gonna be the same for the proxy and the arbitratrator. A possible implementation would be to have a mapping:
disputeID->(arbitrator,disputeIDinThisArbitrator).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid incorrect implementation of the standard, you could make it inherit from Arbitrator.
Closes #19