File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ contract ERC165Init {
1313 /// @notice Initialize the contract with the ERC165 interface support.
1414 /// @dev This function is called during the diamond cut process to set up
1515 /// the initial state of the contract.
16- function initErc165 () external {
16+ function initErc165 () public {
1717 DiamondStorage storage ds = LibDiamond._diamondStorage ();
1818 /// @dev type(ERC165).interfaceId
1919 ds.supportedInterfaces[0x01ffc9a7 ] = true ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ contract MultiInit {
1515 /// @dev Reverts if `_addresses.length != _calldata.length`. Each address is called via delegatecall using LibDiamond._initializeDiamondCut.
1616 /// @param _addresses The list of initializer contract addresses
1717 /// @param _calldata The list of encoded function calls for each initializer
18- function multiInit (address [] calldata _addresses , bytes [] calldata _calldata ) external {
18+ function multiInit (address [] calldata _addresses , bytes [] calldata _calldata ) public {
1919 uint256 addressesLength = _addresses.length ;
2020 if (addressesLength != _calldata.length ) {
2121 revert AddressAndCalldataLengthDoNotMatch ();
You can’t perform that action at this time.
0 commit comments