Hi! I have a quick question, when I try to deploy a contract I’m facing an error I’ve attached it. I can’t fix the problem could you please help me? Thank you!
Gas estimation failed
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” }
Thank you so much! It’s fixed. I have one more question, I’ve successfully deployed this contract to BSC-Testnet and I’ve arranged the PancakeSwap testnet router. As you see in line 780, It’s my friend’s testnet wallet address but when I bought my token on PancakeSwap (test), the fee of charity which is 3% didn’t go to his address. (Also when I bought 1 token, it gives me 0.93) How can I fix this issue? And as I said before, thank you so much!