Skip to content

Commit 7d9c76e

Browse files
committed
Revert "fix: set LAYERZERO_OPTIONS to hex''"
This reverts commit 4ec0a69.
1 parent 4ec0a69 commit 7d9c76e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/apps/layerzero/IncentivizedLayerZeroEscrow.sol

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,8 @@ contract IncentivizedLayerZeroEscrow is IncentivizedMessageEscrow, ExecutorZero
8181
error LZ_ULN_InvalidPacketVersion();
8282
error LZ_ULN_InvalidEid();
8383

84-
/**
85-
* @notice Set the LayerZero options to nothing. We are not using any special options
86-
* and have set ourself to manage gas so we don't see special config.
87-
*/
88-
bytes constant LAYERZERO_OPTIONS = hex'';
84+
uint16 internal constant TYPE_3 = 3;
85+
bytes constant LAYERZERO_OPTIONS = abi.encodePacked(TYPE_3);
8986

9087
/** @notice The Layer Zero Endpoint. It is the destination for packages & configuration */
9188
ILayerZeroEndpointV2 immutable ENDPOINT;
@@ -268,4 +265,4 @@ contract IncentivizedLayerZeroEscrow is IncentivizedMessageEscrow, ExecutorZero
268265
// assert the packet is for this endpoint
269266
if (_packetHeader.dstEid() != chainId) revert LZ_ULN_InvalidEid();
270267
}
271-
}
268+
}

0 commit comments

Comments
 (0)