diff --git a/test/layerzero/mock/MockLayerZeroEscrow.sol b/test/layerzero/mock/MockLayerZeroEscrow.sol index 5ccaeb2..47912ad 100644 --- a/test/layerzero/mock/MockLayerZeroEscrow.sol +++ b/test/layerzero/mock/MockLayerZeroEscrow.sol @@ -17,4 +17,8 @@ contract MockLayerZeroEscrow is IncentivizedLayerZeroEscrow { function sendPacket(bytes32 destinationChainIdentifier, bytes memory destinationImplementation, bytes memory message) external returns(uint128 costOfsendPacketInNativeToken) { return _sendPacket(destinationChainIdentifier, destinationImplementation, message); } + + function setAllowExternalCall(bool state) { + allowExternalCall = state; + } } \ No newline at end of file