Skip to content

Commit 4e81aa6

Browse files
committed
fix: minor fixes
1 parent 78e4a3c commit 4e81aa6

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

contracts/src/arbitration/IArbitrator.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ interface IArbitrator {
5555
uint256 _feeAmount
5656
) external returns (uint256 disputeID);
5757

58-
/// @dev Compute the cost of arbitration denominated in ETH.
58+
/// @dev Compute the cost of arbitration denominated in the native currency, typically ETH.
5959
/// It is recommended not to increase it often, as it can be highly time and gas consuming for the arbitrated contracts to cope with fee augmentation.
6060
/// @param _extraData Additional info about the dispute. We use it to pass the ID of the dispute's court (first 32 bytes), the minimum number of jurors required (next 32 bytes) and the ID of the specific dispute kit (last 32 bytes).
6161
/// @return cost The arbitration cost in ETH.

contracts/src/gateway/HomeGateway.sol

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ contract HomeGateway is IHomeGateway {
150150
bytes calldata _extraData,
151151
address _arbitrable,
152152
uint256 _feeAmount
153-
) external payable {
153+
) external override {
154154
require(feeToken != NATIVE_CURRENCY, "Fees paid in native currency only");
155155
require(_foreignChainID == foreignChainID, "Foreign chain ID not supported");
156156

@@ -206,9 +206,4 @@ contract HomeGateway is IHomeGateway {
206206
function receiverGateway() external view override returns (address) {
207207
return foreignGateway;
208208
}
209-
210-
/// @inheritdoc IHomeGateway
211-
function acceptedFeeToken() external view returns (IERC20) {
212-
return feeToken;
213-
}
214209
}

contracts/src/gateway/interfaces/IHomeGateway.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ interface IHomeGateway is IArbitrable, IMetaEvidence, ISenderGateway {
5050
bytes calldata _extraData,
5151
address _arbitrable,
5252
uint256 _feeAmount
53-
) external payable;
53+
) external;
5454

5555
/// @dev Looks up the local home disputeID for a disputeHash
5656
/// @param _disputeHash dispute hash
@@ -63,5 +63,5 @@ interface IHomeGateway is IArbitrable, IMetaEvidence, ISenderGateway {
6363
function foreignGateway() external view returns (address);
6464

6565
/// return The fee token.
66-
function acceptedFeeToken() external view returns (IERC20);
66+
function feeToken() external view returns (IERC20);
6767
}

0 commit comments

Comments
 (0)