-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning! Error encountered during contract execution [execution reverted] #88
Comments
Solved! Apparently there are problems with the setSwapAndLiquify function, as soon as I set it to false (on bscscan) I was able to send and recieve with no problem. Hope this helps someone else :) PS: This method won't work if you have renounced ownership of the contract, since you will no longer have access to the functions if you've done that. |
Hello Vanessa, I'm facing the same issue as you have gone through. Thank you. |
Hi there, to enable this you need to go to BSCscan.com > search for your contract > Contract > Connect to WEB3 (with Owner Wallet) > Write Contract > press CTRL+F (SwapAndLiquify) |
But setting this function "setSwapAndLiquify" to False, will disable all the taxes/fees like: Reward Tax, Marketing Tax, BuyBack Tax, and etc. Did you face such issue? |
How can this be fixed without disabling Reward Tax, Marketing Tax, BuyBack Tax? |
Hi everyone!
I deployed a safemoon clone last week and sent it to some of my friends, the first 25 transactions had no problem, until on the 26th transaction I started getting these errors:
Warning! Error encountered during contract execution [execution reverted]
and
BEP-20 Token Transfer Error (Unable to locate corresponding Transfer Event Logs), Check with Sender.
Another thing I noticed is that as I added to the amount of tokens to send, the gas fee details wouldn't change automatically like like they had before. I raised the gas limit manually so that it was about twice as expensive as usual, still got the same errors. Not sure what to do! This is my first time trying to fork safemoon so I'm sure there's some small thing I should have done or forgot to. The only things I changed about the contract were the name and symbol (roughly on lines 700 to 730).
Anyone who can help shed light on this would be greatly appreciated!
here is a link to one of the failed transaction I tried on bscscan:
https://bscscan.com/tx/0x64d856d5cd3d3aa803255bd0c832c92205341efb44b8e5add7183b683581ec49
The text was updated successfully, but these errors were encountered: