Skip to content

Commit

Permalink
remove jeweler lib event
Browse files Browse the repository at this point in the history
  • Loading branch information
zajck committed Nov 30, 2023
1 parent 17ba6c0 commit 78f0c21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/diamond/JewelerLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 78f0c21

Please sign in to comment.