Open mwawrusch opened 10 months ago
To add to that:
defaultOwnershipFacet is set to false, which probably causes this.
During the use of hardhat-deploy, I encountered a situation similar to issue #477. I would like to share my perspective. I believe the Diamond contract does not necessarily need to have the OwnershipFacet, as it is not part of the eip-2535 standard and thus does not require the owner method. In terms of permission management, considering its limited authority, I may not use the OwnershipFacet. Instead, I am inclined to use the AccessControlEnumerableFacet for better permission management. Providing this feedback may help improve and optimize this library for a better user experience.
Many thanks for your efforts and contributions to the community. Looking forward to seeing this issue resolved and to the ongoing progress and development of your project.
Describe the bug When installing or upgrading through hardhat-deploy I get the following error message after the contracts have been deployed but before the facets have been installed: no method named "owner" on contract ... See full error message below. I am using a inherited version of the contract (see below).
Manually adding facets through louper worked though, and no problems in development either.
To Reproduce I can provide access to the github.
versions
Additional context
contract DekohDiamond is Diamond {
{ } }