Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions contracts/0.8.9/oracle/HashConsensus.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ interface IReportAsyncProcessor {
/// one returned from this function.
///
function getConsensusVersion() external view returns (uint256);

/// @notice Returns the address of the HashConsensus contract.
function getConsensusContract() external view returns (address);
}


Expand Down
4 changes: 4 additions & 0 deletions test/0.8.9/contracts/ReportProcessor__Mock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ contract ReportProcessor__Mock is IReportAsyncProcessor {
return _consensusVersion;
}

function getConsensusContract() external view returns (address) {
return address(0);
}

function submitConsensusReport(bytes32 report, uint256 refSlot, uint256 deadline) external {
_submitReportLastCall.report = report;
_submitReportLastCall.refSlot = refSlot;
Expand Down
Loading