Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonBoi9001 committed Oct 1, 2024
1 parent c8f499e commit 34c3b61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion packages/subgraph-service/contracts/DisputeManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ contract DisputeManager is
);
}

/**
* @notice Returns the current dispute period.
* @return The dispute period in seconds as a uint64.
*/
function disputePeriod() external view override returns (uint64) {
return disputePeriod;
}

/**
* @notice Create query disputes for two conflicting attestations.
* A conflicting attestation is a proof presented by two different indexers
Expand Down Expand Up @@ -309,7 +317,7 @@ contract DisputeManager is
/**
* @notice Set the dispute period.
* @dev Update the dispute period to `_disputePeriod` in seconds
* @param disputePeriod Dispute period in seconds
* @param _disputePeriod Dispute period in seconds
*/
function setDisputePeriod(uint64 _disputePeriod) external override onlyOwner {
_setDisputePeriod(_disputePeriod);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ abstract contract DisputeManagerV1Storage {
address public arbitrator;

/// @notice dispute period in seconds
uint64 public disputePeriod;
uint64 internal disputePeriod;

/// @notice Deposit required to create a Dispute
uint256 public disputeDeposit;
Expand Down

0 comments on commit 34c3b61

Please sign in to comment.