diff --git a/solidity/contracts/Module.sol b/solidity/contracts/Module.sol index f8d679b..306bcd3 100644 --- a/solidity/contracts/Module.sol +++ b/solidity/contracts/Module.sol @@ -6,7 +6,7 @@ import {IOracle} from '../interfaces/IOracle.sol'; import {Validator} from './Validator.sol'; -abstract contract Module is IModule, Validator { +abstract contract Module is Validator, IModule { constructor(IOracle _oracle) Validator(_oracle) {} /** diff --git a/solidity/interfaces/IModule.sol b/solidity/interfaces/IModule.sol index e03af52..13c25e0 100644 --- a/solidity/interfaces/IModule.sol +++ b/solidity/interfaces/IModule.sol @@ -2,12 +2,13 @@ pragma solidity ^0.8.19; import {IOracle} from './IOracle.sol'; +import {IValidator} from './IValidator.sol'; /** * @title Module * @notice Abstract contract to be inherited by all modules */ -interface IModule { +interface IModule is IValidator { /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ diff --git a/solidity/interfaces/IValidator.sol b/solidity/interfaces/IValidator.sol index 80ee18d..694c798 100644 --- a/solidity/interfaces/IValidator.sol +++ b/solidity/interfaces/IValidator.sol @@ -21,6 +21,7 @@ interface IValidator { * @notice Thrown when the dispute provided does not exist */ error Validator_InvalidDispute(); + /*/////////////////////////////////////////////////////////////// VARIABLES //////////////////////////////////////////////////////////////*/