From 78f0c21b9e99bcb95a07cebb0456d0f81b241c95 Mon Sep 17 00:00:00 2001 From: zajck Date: Thu, 30 Nov 2023 09:31:34 +0100 Subject: [PATCH] remove jeweler lib event --- contracts/diamond/JewelerLib.sol | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contracts/diamond/JewelerLib.sol b/contracts/diamond/JewelerLib.sol index e05f641ef..d2471f516 100644 --- a/contracts/diamond/JewelerLib.sol +++ b/contracts/diamond/JewelerLib.sol @@ -24,8 +24,6 @@ import { IDiamondCut } from "../interfaces/diamond/IDiamondCut.sol"; */ library JewelerLib { - event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata); - bytes32 internal constant CLEAR_ADDRESS_MASK = bytes32(uint256(0xffffffffffffffffffffffff)); bytes32 internal constant CLEAR_SELECTOR_MASK = bytes32(uint256(0xffffffff << 224)); @@ -81,7 +79,7 @@ library JewelerLib { } // Notify listeners of state change - emit DiamondCut(_facetCuts, _init, _calldata); + emit IDiamondCut.DiamondCut(_facetCuts, _init, _calldata); // Initialize the facet initializeDiamondCut(_init, _calldata);