Skip to content
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

PancakeSwap pair reserves swapped for some reasons #1

Open
dzarezenko opened this issue Jul 24, 2023 · 0 comments
Open

PancakeSwap pair reserves swapped for some reasons #1

dzarezenko opened this issue Jul 24, 2023 · 0 comments

Comments

@dzarezenko
Copy link

Hi,

I have found your answer to the PancakeSwap connected question here and looks like you can help me with my problem.

Have you faced the problem when all hardhat tests worked fine but for some reason crashed because the PancakeSwap pair reserved swapped? So, if you change the reserves logic in the contract code tests work again. Even more, I have noticed that the same Solidity code works on the test environment or test networks, but doesn't work on the mainnet. But when I change reserves logic (swap tokens reserves) all work on the mainnet but fails on the testnets.

I have been looking for the reason for this few weeks and can't find any explanation.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant