Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subject: BSC Node Syncing Issue – Current Block Ahead of Highest Block #2864

Open
osizadmin opened this issue Jan 23, 2025 · 4 comments
Open
Assignees

Comments

@osizadmin
Copy link

osizadmin commented Jan 23, 2025

I am experiencing an issue with my Binance Smart Chain (BSC) full node while syncing. Below are the details of my setup and the issue encountered:

System Information
Geth version: Geth/v1.4.16-2df94c37-20241125/linux-amd64/go1.21.13
OS & Version: Linux (Ubuntu 22.04)
Commit hash: (if applicable)

Expected Behaviour
The node should sync properly, with the currentBlock value progressing until it matches the highestBlock.

Actual Behaviour
The currentBlock is ahead of the highestBlock, which is causing an unexpected sync state.

Command Output:

eth.syncing.highestBlock - eth.syncing.currentBlock
-120
Syncing Details:

{
currentBlock: 46012765,
highestBlock: 46012644,
startingBlock: 46012642,
syncedAccounts: 0,
txIndexFinishedBlocks: 603136,
txIndexRemainingBlocks: 45409630
}

Steps to Reproduce the Behaviour

restarted bnb core

Observed the block difference using eth.syncing.
Checked peer count with admin.peers.length (90 peers connected).

Also we are facing this error: InvalidResponseError: Returned error: transaction indexing is in progress

@osizadmin
Copy link
Author

Now:

{
currentBlock: 46018991,
healedBytecodeBytes: 0,
healedBytecodes: 0,
healedTrienodeBytes: 0,
healedTrienodes: 0,
healingBytecode: 0,
healingTrienodes: 0,
highestBlock: 46016654,
startingBlock: 46016653,
syncedAccountBytes: 0,
syncedAccounts: 0,
syncedBytecodeBytes: 0,
syncedBytecodes: 0,
syncedStorage: 0,
syncedStorageBytes: 0,
txIndexFinishedBlocks: 609362,
txIndexRemainingBlocks: 45409630
}

eth.syncing.highestBlock - eth.syncing.currentBlock
-2341
eth.syncing.highestBlock - eth.syncing.currentBlock
-2367

Also we are facing this error: InvalidResponseError: Returned error: transaction indexing is in progress

@STdevK
Copy link

STdevK commented Jan 23, 2025

@osizadmin what's your node start up command?

@osizadmin
Copy link
Author

node start up command:

./opt/bsc/geth_linux --cache=16000 --config /opt/bsc/config.toml --datadir /opt/bsc/node --rpc.allow-unprotected-txs --http --maxpeers=500 --ws --syncmode=snap --history.transactions=0 --allow-insecure-unlock --tries-verify-mode=none --db.engine=pebble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@emailtovamos @osizadmin @STdevK and others