NullRouter
Last updated
Last updated
This NullRouter is the simplest Router
implementation, it doesn’t bridge at all but simply routes messages on the same chain. It immediately delivers the payload to the target contract, otherwise it rejects the call.
All routers support the null route, allowing integrators to also have access to same-chain routing.
MessageBroadcasted
Message message
Emitted when a valid same-chain message is delivered; mirrors the interface’s broadcast event.
UnsupportedBridgingRoute()
If message.chainId
≠ block.chainid
, i.e. it is a cross-chain call.