I am trying to deploy a new contract to BSC testnet and hitting this error message. I do have enough testnet BNB (about 3.9 BNB).

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

Anyone good in solidity help me look into this?

Mar 22, 2022, 6:53 PM
do you use a router?
Mar 22, 2022, 6:59 PM
I'm passing the router as an argument to the main function
Mar 22, 2022, 7:00 PM
are you using the testnet one?
Mar 22, 2022, 7:01 PM
the router is passed as an arg to the entry function
Mar 22, 2022, 7:08 PM
.
Mar 22, 2022, 7:08 PM

© 2024 Draquery.com All rights reserved.