Skip to content

Commit e7f0d52

Browse files
unknownunknown1jaybuidl
authored andcommitted
fix(KlerosCore): small fixes
1 parent de1c7bd commit e7f0d52

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

contracts/src/arbitration/KlerosCoreBase.sol

-1
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,6 @@ abstract contract KlerosCoreBase is IArbitratorV2, Initializable, UUPSProxiable
11421142
error DisputeKitOnly();
11431143
error SortitionModuleOnly();
11441144
error UnsuccessfulCall();
1145-
error InvalidDisputKitParent();
11461145
error MinStakeLowerThanParentCourt();
11471146
error UnsupportedDisputeKit();
11481147
error InvalidForkingCourtAsParent();

contracts/src/arbitration/SortitionModuleBase.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ abstract contract SortitionModuleBase is ISortitionModule, Initializable, UUPSPr
507507
/// @return The stake of the juror in the court.
508508
function stakeOf(bytes32 _key, bytes32 _ID) public view returns (uint256) {
509509
SortitionSumTree storage tree = sortitionSumTrees[_key];
510-
uint treeIndex = tree.IDsToNodeIndexes[_ID];
510+
uint256 treeIndex = tree.IDsToNodeIndexes[_ID];
511511
if (treeIndex == 0) {
512512
return 0;
513513
}

0 commit comments

Comments
 (0)