synapsecns/sanguine

View on GitHub
packages/contracts-core/test/mocks/hubs/StateHubMock.t.sol

Summary

Maintainability
Test Coverage
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import {IStateHub} from "../../../contracts/interfaces/IStateHub.sol";
import {BaseMock} from "../base/BaseMock.t.sol";

// solhint-disable no-empty-blocks
contract StateHubMock is BaseMock, IStateHub {
    /// @notice Prevents this contract from being included in the coverage report
    function testStateHubMock() external {}

    function isValidState(bytes memory) external view returns (bool isValid) {
        return getReturnValueBool();
    }

    function statesAmount() external view returns (uint256) {}

    function suggestLatestState() external view returns (bytes memory statePayload) {}

    function suggestState(uint32 nonce) external view returns (bytes memory statePayload) {}
}