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/contracts/test/TestGasRouter.sol

28 lines
729 B

// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.6.11;
import "./TestRouter.sol";
import "../GasRouter.sol";
contract TestGasRouter is TestRouter, GasRouter {
function dispatchWithGas(
uint32 _destinationDomain,
bytes memory _messageBody,
uint256 _gasPayment,
address _gasPaymentRefundAddress
) external payable {
_dispatchWithGas(
_destinationDomain,
_messageBody,
_gasPayment,
_gasPaymentRefundAddress
);
}
function dispatchWithGas(
uint32 _destinationDomain,
bytes memory _messageBody
) external payable {
_dispatchWithGas(_destinationDomain, _messageBody);
}
}