Unable to deploy contract on testnet

Hi there,

I am deploying a testnet contract using remix.ethereum.com and get this error when trying to deploy.

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" }

Forcing sending does not work and execution fails. I tried searching here and don’t see similar errors - has anyone seen this before?

I solved it - updating this thread here in case anyone else has problems.

I needed to change the pancakeswap router to pancakeswap testnet router, which you can find here https://www.reddit.com/r/pancakeswap/comments/m1s3ki/pancakeswap_on_bsc_testnet/

1 Like