We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bcca59 commit c6af7feCopy full SHA for c6af7fe
src/diamond/DiamondMod.sol
@@ -81,7 +81,7 @@ error NoFacetsToAdd();
81
/**
82
* @notice Adds facets and their function selectors to the diamond.
83
*/
84
-function addFacets(address[] calldata _facets) {
+function addFacets(address[] memory _facets) {
85
DiamondStorage storage s = getStorage();
86
uint256 facetsLength = _facets.length;
87
if (facetsLength == 0) {
0 commit comments