We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brownie
solc
dependencies: - Uniswap/[email protected] - Uniswap/[email protected] compiler: solc: version: 0.6.6 remappings: - "@uniswapcore=Uniswap/[email protected]" - "@uniswaplib=**Uniswap**/[email protected]"
brownie compile contracts/UniswapV2Migrator.sol:3:1: ParserError: Source "Uniswap/[email protected]/contracts/libraries/TransferHelper.sol" not found: File not found. import '@uniswaplib/contracts/libraries/TransferHelper.sol'
make .brownie/packages/Uniswaplib mv Uniswap/[email protected] Uniswaplib
compiler: solc: version: 0.6.6 remappings: - "@uniswapcore=Uniswap/[email protected]" - "@uniswaplib=**Uniswaplib**/[email protected]"
brownie compile OK
The text was updated successfully, but these errors were encountered:
Here's OK. I guess they can't have the same prefix directory.
dependencies:
compiler: solc: version: 0.6.12 remappings: - "@yearnvaults=iearn-finance/[email protected]" - "@OpenZeppelin=OpenZeppelin/[email protected]"
Sorry, something went wrong.
Brownie is passing the remappings to solc, so the expected behaviours here are in the Solidity docs.
https://docs.soliditylang.org/en/v0.6.6/using-the-compiler.html#using-the-commandline-compiler
Successfully merging a pull request may close this issue.
Environment information
brownie
Version: 1.14.6solc
Version: 0.6.6brownie compile OK
The text was updated successfully, but these errors were encountered: