lukso-network / lsp-smart-contracts

The reference implementation for universal profiles smart contracts
https://www.npmjs.com/package/@lukso/lsp-smart-contracts
Apache License 2.0
76 stars 50 forks source link

LSP11 #283

Closed deepface19 closed 11 months ago

deepface19 commented 2 years ago

error when i try to deploy a LSP11 the result error like this

TypeError: Function needs to specify overridden contract "IERC165". 
   --> @erc725/smart-contracts/contracts/ERC725YCore.sol:106:9:     
    |
106 |         override(IERC165, ERC165)
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
Note: This contract: 
  --> @erc725/smart-contracts/contracts/interfaces/IERC165.sol:15:1:
   |
15 | interface IERC165 {
   | ^ (Relevant source part starts here and spans across multiple lines).

TypeError: Invalid contract specified in override list: "IERC165".
   --> @erc725/smart-contracts/contracts/ERC725YCore.sol:106:9:
    |
106 |         override(IERC165, ERC165)
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
Note: This contract: 
  --> @openzeppelin/contracts/utils/introspection/IERC165.sol:15:1:
   |
15 | interface IERC165 {
   | ^ (Relevant source part starts here and spans across multiple lines).

TypeError: Function needs to specify overridden contract "IERC165".
   --> node_modules/@erc725/smart-contracts/contracts/ERC725YCore.sol:106:9:
    |
106 |         override(IERC165, ERC165)
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
Note: This contract: 
  --> node_modules/@erc725/smart-contracts/contracts/interfaces/IERC165.sol:15:1:
   |
15 | interface IERC165 {
   | ^ (Relevant source part starts here and spans across multiple lines).

TypeError: Invalid contract specified in override list: "IERC165".
   --> node_modules/@erc725/smart-contracts/contracts/ERC725YCore.sol:106:9:
    |
106 |         override(IERC165, ERC165)
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
Note: This contract: 
  --> @openzeppelin/contracts/utils/introspection/IERC165.sol:15:1:
   |
15 | interface IERC165 {
   | ^ (Relevant source part starts here and spans across multiple lines).

TypeError: Member "getPermissionsFor" not found or not visible after argument-dependent lookup in contract ERC725Y.
  --> @lukso/lsp-smart-contracts/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol:87:13:
   |
87 |             ERC725Y(target).getPermissionsFor(recoveredAddress).hasPermission(_PERMISSION_SIGN)    
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CJ42 commented 1 year ago

@deepface19 are you still experiencing this issue?

LSP11 is not part of the @lukso/lsp-smart-contracts package yet.

Could you provide more informations on your setup.

CJ42 commented 11 months ago

Closing as stale