Skip to content

Commit efd8bbf

Browse files
authored
chore(protocol-contracts): remove redundant operation enum (#1280)
1 parent 3116805 commit efd8bbf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

protocol-contracts/governance/contracts/GovernanceOAppSender.sol

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@ import { OAppSender, OAppCore, Origin, MessagingFee, MessagingReceipt } from "@l
55
import { OAppOptionsType3 } from "@layerzerolabs/oapp-evm/contracts/oapp/libs/OAppOptionsType3.sol";
66
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
77
import { MessagingParams } from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol";
8+
import { Operation } from "./shared/Structs.sol";
89

910
contract GovernanceOAppSender is OAppSender, OAppOptionsType3 {
1011
/// @notice Msg type for sending data, for use in OAppOptionsType3 as an enforced option.
1112
uint16 public constant SEND = 1;
1213
uint32 public immutable DESTINATION_EID; /// @dev 40424 for Zama testnet, and ??? for mainnet.
1314

14-
/// @notice A Safe transaction operation.
15-
/// @custom:variant Call The Safe transaction is executed with the `CALL` opcode.
16-
/// @custom:variant Delegatecall The Safe transaction is executed with the `DELEGATECALL` opcode.
17-
enum Operation {
18-
Call,
19-
DelegateCall
20-
}
21-
2215
/// @notice This struct is used to avoid stack too deep errors
2316
struct MessagingReceiptOptions {
2417
MessagingReceipt receipt;

0 commit comments

Comments
 (0)