Issue deploying ERC20 token to Ropsten using Remix

Please help me.
Point out the error


Fail: 0x0bff530f9a0f67d77e87e7cbd02d53f94c997fd7781ebdcff13f8c8098078a20

pragma solidity ^0.5.0;

import "";
import "";

contract Token is ERC20, ERC20Detailed {

    constructor () public ERC20Detailed("YeShangBin", "SBC", 8) {
        _mint(msg.sender, 100000000 * (10 ** uint256(decimals())));
1 Like

Hi @1113,

Welcome to the community :wave:

I was able to deploy the same token to Ropsten using Remix:

Checking the failed transaction, there wasn’t enough gas. Gas limit shows as 41,797.

The successful transaction had a gas limit of 1,039,756.

Can you give any more details on how this occurred?
There was an issue with Ropsten earlier this week since the Istanbul hard fork, Ropsten testnet post Istanbul

You may want to try a different testnet such as Rinkeby, Kovan or Goerli.

Hi @1113,

Were you able to deploy?