0xProject / tools

Other
96 stars 63 forks source link

sol-compiler not able to import remote dependencies #52

Closed gabririgo closed 2 years ago

gabririgo commented 2 years ago

Expected Behavior

A contract imported with statement

import "@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol";

should not return an error

Current Behavior

error AUniswapV3NPM.sol:26:1: ParserError: Source "0֦swap/v3-periphery/contracts/interfaces/IPoolInitializer.sol" not found: Callback not supported.

Possible Solution

Steps to Reproduce (for bugs)

1. add import statement as described above
2. compile a contract that uses the import
3. compilation will result in an error

Context

trying to import external contracts as .dep instead of having to manually add them to the package external deps.

Your Environment

| Package | Version | | @0x/sol-compiler: | 4.7.6 |

| Network | | testrpc | | NAME |

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed because no activity occured in 7 days after being marked as stale. If it's still relevant - feel free to reopen. Thank you for your contributions.