Skip to content

Incorrect RPC eth_syncing method response with v1.12.22 #697

@solopool

Description

@solopool

Hello!

After updating to v1.12.22, the method sometimes returns incorrect values.

The current block height in the network is 24296230 (0x172bb26). It is the correct value. Verified in several nodes, explorers, and netstat.

Response to eth_syncing request:

{ jsonrpc: '2.0', id: 1775227583664, result: { currentBlock: '0x172bb26', healedBytecodeBytes: '0x0', healedBytecodes: '0x0', healedTrienodeBytes: '0x0', healedTrienodes: '0x0', healingBytecode: '0x0', healingTrienodes: '0x0', highestBlock: '0x172bdda', startingBlock: '0x172ac0f', syncedAccountBytes: '0x0', syncedAccounts: '0x0', syncedBytecodeBytes: '0x0', syncedBytecodes: '0x0', syncedStorage: '0x0', syncedStorageBytes: '0x0', txIndexFinishedBlocks: '0x23dbb0', txIndexRemainingBlocks: '0x0' } }

highestBlock in resnopse is 24296922 (0x172bdda). It is incorrect.

After all nodes reach block 24296922, the method responds:
{ "jsonrpc": "2.0", "id": 1775227583664, "result": false }

But only for a short time. Then it repeats.

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