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/TestXAppConnectionManager.sol

24 lines
717 B

// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.6.11;
import "../XAppConnectionManager.sol";
import "../../libs/TypeCasts.sol";
contract TestXAppConnectionManager is XAppConnectionManager {
constructor() XAppConnectionManager() {} // solhint-disable-line no-empty-blocks
function testRecoverWatcherFromSig(
uint32 _domain,
address _replica,
address _updater,
bytes memory _signature
) external view returns (address) {
return
recoverWatcherFromSig(
_domain,
TypeCasts.addressToBytes32(_replica),
TypeCasts.addressToBytes32(_updater),
_signature
);
}
}