MessengerMock
MessengerMock
#
Implements the relayMessage
trivially so that we can test whether the BridgeAdmin correctly calls into this
contract.
#
FunctionsrelayMessage(address target, address, uint256, uint256 gasLimit, uint256 gasPrice, uint256, bytes message) (external)
Sends a message to an account on L2.
#
Parameters:- target: The intended recipient on L2.
- gasLimit: The gasLimit for the receipt of the message on L2.
- gasPrice: Gas price bid for L2 transaction.
- message: The data to send to the target (usually calldata to a function with
onlyFromCrossDomainAccount()
)
#
EventsRelayedMessage(address target, uint256 gasLimit, uint256 gasPrice, bytes message)