Skip to content

all RPC nodes with TokensTracker module on testnet stopped syncing #2670

@dusmart

Description

@dusmart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions