node-real / bsc-erigon

Ethereum implementation on the efficiency frontier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The totalDifficulty value in the block data returned is inconsistent

rayn316 opened this issue · comments

System information

Erigon version: Snapshot sync repair version 24b2aaa
OS & Version: Linux

Expected behaviour

Actual behaviour

Nodes sometimes get stuck. After restarting, when comparing the execution data with other nodes, it is found that the value of totalDifficulty in the block data is inconsistent with the bsc mainnet rpc.

Steps to reproduce the behaviour

Restart after encountering a stuck problem. After starting the node, request the bsc rpc node and local node data, and find that the returns are inconsistent.
[2/15 Headers] No block headers to write in this log period block number
curl -X POST 'https://bsc-dataseed1.binance.org' -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0","method": "eth_getBlockByNumber","params": ["0x1fc0da9", false],"id": 1}'

Backtrace

[backtrace]

image

integration stage_headers --reset