Contracts do not compile due to missing import
maarcweiss opened this issue · 1 comments
maarcweiss commented
Once you type: ./quickpoc 0x6982508145454Ce325dDbE47a25d4ec3d2311933 pepe
and the repo is created, if you try to run forge build
it does not compile due to missing import in the POC.t.sol file.
The import missing should import the contract extracted from etherscan named Contract.sol from the /src folder
zobront commented
Weird, etherscan-source
should pull files into src/${name}/contracts/*.sol
, and they're added automatically from there. But looks like Pepe is showing up as src/${name}/Contract.sol
instead.
Not sure why, but hardcoded that situation in the latest commit so should work for you using that one.