Skip to content

Commit 98782de

Browse files
fix(DR): remove submitEvidence
1 parent 87a2287 commit 98782de

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

contracts/src/arbitration/arbitrables/DisputeResolver.sol

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ contract DisputeResolver is IArbitrable, IMetaEvidence {
3636
arbitrator = _arbitrator;
3737
}
3838

39-
/** @dev Allows to submit evidence for a given dispute.
40-
* @param _localDisputeID Index of the dispute in disputes array.
41-
* @param _evidenceURI Link to evidence.
42-
*/
43-
function submitEvidence(uint256 _localDisputeID, string calldata _evidenceURI) external {
44-
DisputeStruct storage dispute = disputes[_localDisputeID];
45-
require(!dispute.isRuled, "Cannot submit evidence to a resolved dispute.");
46-
47-
emit Evidence(arbitrator, _localDisputeID, msg.sender, _evidenceURI);
48-
}
49-
5039
/** @dev TRUSTED. Calls createDispute function of the specified arbitrator to create a dispute.
5140
Note that we don’t need to check that msg.value is enough to pay arbitration fees as it’s the responsibility of the arbitrator contract.
5241
* @param _arbitratorExtraData Extra data for the arbitrator of the dispute.

0 commit comments

Comments
 (0)