Skip to content

Commit 2e3508f

Browse files
committed
fix(contracts): remove court and subcourt naming inconsistencies
1 parent 26e37b1 commit 2e3508f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/src/gateway/ForeignGateway.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ contract ForeignGateway is IForeignGateway {
111111
* @param _courtID The ID of the court.
112112
* @param _feeForJuror The new value for the `feeForJuror` property value.
113113
*/
114-
function changeSubcourtJurorFee(uint96 _courtID, uint256 _feeForJuror) external onlyByGovernor {
114+
function changeCourtJurorFee(uint96 _courtID, uint256 _feeForJuror) external onlyByGovernor {
115115
feeForJuror[_courtID] = _feeForJuror;
116116
emit ArbitrationCostModified(_courtID, _feeForJuror);
117117
}
@@ -156,7 +156,7 @@ contract ForeignGateway is IForeignGateway {
156156
}
157157

158158
function arbitrationCost(bytes calldata _extraData) public view override returns (uint256 cost) {
159-
(uint96 courtID, uint256 minJurors) = extraDataToSubcourtIDMinJurors(_extraData);
159+
(uint96 courtID, uint256 minJurors) = extraDataToCourtIDMinJurors(_extraData);
160160
cost = feeForJuror[courtID] * minJurors;
161161
}
162162

@@ -204,7 +204,7 @@ contract ForeignGateway is IForeignGateway {
204204
// * Internal * //
205205
// ************************ //
206206

207-
function extraDataToSubcourtIDMinJurors(
207+
function extraDataToCourtIDMinJurors(
208208
bytes memory _extraData
209209
) internal view returns (uint96 courtID, uint256 minJurors) {
210210
// Note that here we ignore DisputeKitID

0 commit comments

Comments
 (0)