I m trying to learn Uniswap and when I deploy contract
UniswapV2Router02.sol via truffle, it always returns me error out of gas, even I tried to increase very high gasLimit and also run on ganache. I think the problem here is the size of the contract very large. Below is a detailed of error:
* gas required exceeds allowance (80000290) or always failing transaction. * Try: + using the '--dry-run' option to reproduce this failure with clearer errors. + verifying that your gas is adequate for this deployment.
Is there anything wrong? Any instruction to deploy this contract?