The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/solidity/optics-core/contracts/test/TestHome.sol

26 lines
573 B

// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.6.11;
import "../Home.sol";
contract TestHome is Home {
using QueueLib for QueueLib.Queue;
using MerkleLib for MerkleLib.Tree;
function nextLeafIndex() external view returns (uint256) {
return count();
}
function setFailed() public {
_setFailed();
}
function testDestinationAndSequence(uint32 _destination, uint32 _sequence)
external
pure
returns (uint64)
{
return destinationAndSequence(_destination, _sequence);
}
}