Tenderly / tenderly-cli

CLI tool for Smart Contract error tracking, monitoring and alerting.
https://tenderly.co
GNU General Public License v3.0
520 stars 137 forks source link

Push fails with imported contracts #90

Open cesarvarela opened 2 years ago

cesarvarela commented 2 years ago

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.