I am trying to create a Fomo3d clone contract in Ropsten testnet for debugging purpose. Here is the code: https://etherscan.io/address/0xa62142888aba8370742be823c1782d17a0389da1#code

But I am constantly getting out of gas error even I specified the maximum gas possible. https://ropsten.etherscan.io/tx/0x854a0172c8ec78c3c5af3c45e7bd05385cb41ad7f635fa5e80c2781ec147b4fd

  • 1
    What are you using for deployment? Truffle? Remix? Etherlime?
    – Kristian
    Commented Aug 28, 2018 at 6:11
  • Please post your code, not a link to it. How do we know it's safe? Commented Aug 28, 2018 at 7:18
  • I am using Remix for deployment. The code is too long to paste. I edited the link to point to Etherscan address.
    – user45328
    Commented Aug 28, 2018 at 21:24

1 Answer 1


You cannot deploy the smart contract on Ropsten because the block gas limit is not enough for gas used for your contract deployment.

They can do in the main net because the block gas limit of the main net is higher and enough for the contract deployment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.