From 7ddebbd49363d33679433e73e88027e1a575d57e Mon Sep 17 00:00:00 2001 From: MoonBoi9001 Date: Wed, 2 Oct 2024 17:45:15 +0100 Subject: [PATCH] fix: remove redundant getDisputePeriod function --- packages/subgraph-service/contracts/DisputeManager.sol | 5 +++-- .../contracts/interfaces/IDisputeManager.sol | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/subgraph-service/contracts/DisputeManager.sol b/packages/subgraph-service/contracts/DisputeManager.sol index b49a0ded7..8338472f9 100644 --- a/packages/subgraph-service/contracts/DisputeManager.sol +++ b/packages/subgraph-service/contracts/DisputeManager.sol @@ -46,8 +46,9 @@ contract DisputeManager is OwnableUpgradeable, GraphDirectory, AttestationManager, - DisputeManagerV1Storage, - IDisputeManager + IDisputeManager, + DisputeManagerV1Storage + { using TokenUtils for IGraphToken; using PPMMath for uint256; diff --git a/packages/subgraph-service/contracts/interfaces/IDisputeManager.sol b/packages/subgraph-service/contracts/interfaces/IDisputeManager.sol index 29972463e..01cc10a25 100644 --- a/packages/subgraph-service/contracts/interfaces/IDisputeManager.sol +++ b/packages/subgraph-service/contracts/interfaces/IDisputeManager.sol @@ -216,8 +216,6 @@ interface IDisputeManager { function getVerifierCut() external view returns (uint32); - function disputePeriod() external view returns (uint64); - function isDisputeCreated(bytes32 disputeId) external view returns (bool); function encodeReceipt(Attestation.Receipt memory receipt) external view returns (bytes32);