I was trying to deploy my contract to the Binance smart chain test network and it failed. A warning did appear before I proceeded saying:

Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" }

This resulted in my transaction failing with the status saying:

"false Transaction mined but execution failed"

Can someone help me understand what has happened here so I could resolve this.

my transaction hash is:


  • It seems to be an error in the constructor. Can you provide the contract source code? It is impossible to determine the cause without examining it.
    – Ismael
    Commented Jan 5, 2022 at 14:06
  • @ismael thanks for getting back to me. the code is here: pastebin.com/AAsr0p2B
    – iSenpai021
    Commented Jan 5, 2022 at 14:15

1 Answer 1


The constructor uses the pancake's router address from bsc net

    constructor (address marketingWallet) {
        _rOwned[_msgSender()] = _rTotal;
         _marketingWallet = payable(marketingWallet);
        //Pancake Swap V2 address
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);

But that address 0x10ED43C718714eb63d5aA57B78B54704E256024E doesn't have a contract on bsc testnet and the constructor will revert.

  • thanks for sharing your inputs here. Sorry for reaching you out of the blue. I was wondering if you could assist me with this. I am kind of not finding any information anywhere else. ethereum.stackexchange.com/questions/118130/… Thanks a ton in advance. Commented Jan 6, 2022 at 21:59

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.