crytic/crytic-compile

Problems with etherscan multi-file node_modules contract

rmi7 opened this issue · 0 comments

rmi7 commented

crytic--compile version: 0.3.1

crytic-compile 0x19c7d0fbf906c282dedb5543d098f43dfe9f856f

Error ParserError: ParserError: Source "@openzeppelin/contracts/proxy/Proxy.sol" not found: File not found. Searched the following locations: "".
 --> contracts/manifold/ERC721Creator.sol:8:1:
  |
8 | import "@openzeppelin/contracts/proxy/Proxy.sol";
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


ParserError: ParserError: Source "@openzeppelin/contracts/utils/Address.sol" not found: File not found. Searched the following locations: "".
 --> contracts/manifold/ERC721Creator.sol:9:1:
  |
9 | import "@openzeppelin/contracts/utils/Address.sol";
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


ParserError: ParserError: Source "@openzeppelin/contracts/utils/StorageSlot.sol" not found: File not found. Searched the following locations: "".
  --> contracts/manifold/ERC721Creator.sol:10:1:
   |
10 | import "@openzeppelin/contracts/utils/StorageSlot.sol";
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Some other addresses with the same problem:

  • 0x768382557f218c9cd04c9e340c4f9b0d69b96708
  • 0x4245d5c4460b8e70c20ff5e50689f31a1c6f0dec
  • 0x0fb3eae515db4aaf2fd5e23e79ec64ab9dcf83ed
  • 0xbd5ba1a01fc4085bcc06c24ed1a5290b58c12779