Linch1 / WeChartWeb3

Build a poocoin clone, scrape all the prices from pancakeswap or any other similar dex, build an historical record and offer an api to your users.
118 stars 78 forks source link

Some transactions cant be recorded #24

Closed GuolongCyber closed 2 years ago

GuolongCyber commented 2 years ago

Hello @Linch1

I observed that some transactions would not be recorded, But those transactions did happen. I don't know what the issue is? Maybe this transactions is through bridges or unpopular swap platforms?

some unrecorded transactions https://bscscan.com/tx/0xaed9c91373cc56872ad45b23452f4385a975a59a0089fe16ffd95516f1ae8767 https://bscscan.com/tx/0x461955bbe430d62a888b32a0568834ab0de0dd47903961d02a356df5ac5af494 https://bscscan.com/tx/0xaf0b9fa92e11e7984d8872dd8407f6f200dfd2ac8a360e27d3882c424d1cb54f https://bscscan.com/tx/0x9c622a8045af144761e633f049f8b1fa4bc2be3b9c304c910a859529a4ebd7a0

attention to this token(Wombat), issue can easily recur. 0xAD6742A35fB341A9Cc6ad674738Dd8da98b94Fb1 https://dexscreener.com/bsc/0xAD6742A35fB341A9Cc6ad674738Dd8da98b94Fb1

GuolongCyber commented 2 years ago

It is caused by mongodb congestion, duplicate pair will write in the tokenhistories. After solving the performance problem of mongodb and clean data, issue solved