neo icon indicating copy to clipboard operation
neo copied to clipboard

all RPC nodes with TokensTracker module on testnet stopped syncing

Open dusmart opened this issue 4 years ago • 1 comments

Describe the bug

We constructed a tx that will emit lots of fake NEP-17 transfer notifications. Plus, its balanceOf consumes lots of CPU resources. After sending that, all seed nodes stopped syncing.

Expected behavior

All nodes go well.

Screenshots

image

(Optional) Additional context

0xd1854ce611d57a1c613dbbd0172784c338666065f2b1cf20c4e4d7ad23a5d5cc

Tokentacker will filter all notifications and try to update NEP-17 balances for each address which can be exploited.

https://github.com/neo-project/neo-modules/blob/32aacc468ad43600817daabbec834e715017d962/src/TokensTracker/Trackers/NEP-17/Nep17Tracker.cs#L80-L92

https://github.com/neo-project/neo-modules/blob/32aacc468ad43600817daabbec834e715017d962/src/TokensTracker/Trackers/NEP-17/Nep17Tracker.cs#L103-L105

dusmart avatar Mar 08 '22 10:03 dusmart

:yawning_face: NeoGo works fine wrt this, our tracker differs a bit.

roman-khimov avatar Mar 09 '22 08:03 roman-khimov

I think this one was solved quite a while ago and can be closed now.

roman-khimov avatar Sep 09 '22 20:09 roman-khimov