Skip to content

Commit

Permalink
test: expose allowExternalCall
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Feb 2, 2024
1 parent f48670e commit 5d3145b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/layerzero/mock/MockLayerZeroEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 5d3145b

Please sign in to comment.