Skip to content

Commit

Permalink
Revert "fix: set LAYERZERO_OPTIONS to hex''"
Browse files Browse the repository at this point in the history
This reverts commit 4ec0a69.
  • Loading branch information
reednaa committed May 27, 2024
1 parent 4ec0a69 commit 7d9c76e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/apps/layerzero/IncentivizedLayerZeroEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,8 @@ contract IncentivizedLayerZeroEscrow is IncentivizedMessageEscrow, ExecutorZero
error LZ_ULN_InvalidPacketVersion();
error LZ_ULN_InvalidEid();

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

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

0 comments on commit 7d9c76e

Please sign in to comment.