@@ -180,18 +180,18 @@ abstract contract DisputeKitClassicBase is IDisputeKit, Initializable, UUPSProxi
180180 owner = _owner;
181181 }
182182
183- /// @dev Changes the dispute kit ID used for the jump.
184- /// @param _jumpDisputeKitID The new value for the `jumpDisputeKitID` storage variable.
185- function changeJumpDisputeKitID (uint256 _jumpDisputeKitID ) external onlyByOwner {
186- jumpDisputeKitID = _jumpDisputeKitID;
187- }
188-
189183 /// @dev Changes the `core` storage variable.
190184 /// @param _core The new value for the `core` storage variable.
191185 function changeCore (address _core ) external onlyByOwner {
192186 core = KlerosCore (_core);
193187 }
194188
189+ /// @dev Changes the dispute kit ID used for the jump.
190+ /// @param _jumpDisputeKitID The new value for the `jumpDisputeKitID` storage variable.
191+ function changeJumpDisputeKitID (uint256 _jumpDisputeKitID ) external onlyByOwner {
192+ jumpDisputeKitID = _jumpDisputeKitID;
193+ }
194+
195195 // ************************************* //
196196 // * State Modifiers * //
197197 // ************************************* //
@@ -649,7 +649,9 @@ abstract contract DisputeKitClassicBase is IDisputeKit, Initializable, UUPSProxi
649649 return (_currentNbVotes * 2 ) + 1 ;
650650 }
651651
652- function getJumpDisputeKitID () external view returns (uint256 ) {
652+ /// @dev Returns the dispute kid ID be used after court jump by Kleros Core.
653+ /// @return The ID of the dispute kit in Kleros Core disputeKits array.
654+ function getJumpDisputeKitID () external view override returns (uint256 ) {
653655 // Fall back to classic DK in case the jump ID is not defined.
654656 return jumpDisputeKitID == 0 ? DISPUTE_KIT_CLASSIC : jumpDisputeKitID;
655657 }
0 commit comments