Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
0xShaito committed Aug 1, 2024
1 parent bb6053f commit 26bba1c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions solidity/test/unit/Validator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pragma solidity ^0.8.19;

import 'forge-std/Test.sol';

import {IModule} from '../../interfaces/IModule.sol';
import {IOracle} from '../../interfaces/IOracle.sol';

import {IDisputeModule} from '../../interfaces/modules/dispute/IDisputeModule.sol';
Expand All @@ -23,36 +22,36 @@ import {Helpers} from '../utils/Helpers.sol';
contract MockValidator is Validator {
constructor(IOracle _oracle) Validator(_oracle) {}

function getId(IOracle.Request calldata _request) external pure returns (bytes32) {
function getId(IOracle.Request calldata _request) external pure returns (bytes32 _requestId) {
return _getId(_request);
}

function getId(IOracle.Response calldata _response) external pure returns (bytes32) {
function getId(IOracle.Response calldata _response) external pure returns (bytes32 _responseId) {
return _getId(_response);
}

function getId(IOracle.Dispute calldata _dispute) external pure returns (bytes32) {
function getId(IOracle.Dispute calldata _dispute) external pure returns (bytes32 _disputeId) {
return _getId(_dispute);
}

function validateResponse(
IOracle.Request calldata _request,
IOracle.Response calldata _response
) external view returns (bytes32) {
) external view returns (bytes32 _responseId) {
return _validateResponse(_request, _response);
}

function validateDispute(
IOracle.Response calldata _response,
IOracle.Dispute calldata _dispute
) external view returns (bytes32) {
) external view returns (bytes32 _disputeId) {
return _validateDispute(_response, _dispute);
}

function validateDispute(
IOracle.Request calldata _request,
IOracle.Dispute calldata _dispute
) external view returns (bytes32) {
) external view returns (bytes32 _disputeId) {
return _validateDispute(_request, _dispute);
}

Expand Down

0 comments on commit 26bba1c

Please sign in to comment.