tenderly-cli icon indicating copy to clipboard operation
tenderly-cli copied to clipboard

Push fails with imported contracts

Open cesarvarela opened this issue 3 years ago • 0 comments

Hi, I'm using hardhat seems like an issue with imports?

This worked:

interface IUniswapV2Pair {
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
}

contract Reserves {
...
}

This didn't:

import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";

contract Reserves {
...
}

I got compiler_error when running tenderly contracts push.

cesarvarela avatar Jun 18 '22 21:06 cesarvarela