diff --git a/contracts/mocks/crosschain/bridges.sol b/contracts/mocks/crosschain/bridges.sol index 1339f4371c0..35c7f4c0625 100644 --- a/contracts/mocks/crosschain/bridges.sol +++ b/contracts/mocks/crosschain/bridges.sol @@ -70,14 +70,10 @@ contract BridgeArbitrumL1Outbox { } contract BridgeArbitrumL2Mock is BaseRelayMock { - function isTopLevelCall() public view returns (bool) { + function wasMyCallersAddressAliased() public view returns (bool) { return _currentSender != address(0); } - function wasMyCallersAddressAliased() public pure returns (bool) { - return true; - } - function myCallersAddressWithoutAliasing() public view returns (address) { return _currentSender; }