Skip to content

BNB Chain nodes: Some nodes can send transactions while others fail with "indexing in progress" error #3114

@h6dworker

Description

@h6dworker

System information

  • Geth version: v1.5.12
  • OS & Version: Linux (Ubuntu 22.04)
  • Commit hash: d60167c

Expected behaviour

All nodes with similar configuration should have the same transaction capability - either all should be able to send transactions or none should.

Actual behaviour

Some nodes can successfully send transactions while others fail with "transaction indexing is in progress" error, despite all nodes appearing to sync properly with the same configuration.

Details

/opt/bnb/geth --config /opt/bnb/config.toml --cache 16384 --rpc.allow-unprotected-txs --history.transactions=0 --syncmode=full --tries-verify-mode=none --pruneancient --rpc.enabledeprecatedpersonal --db.engine=pebble --datadir /opt/bnb/node

Transaction index progress is only ~2.6% on all nodes (1,294,933 indexed blocks, 48,634,071 remaining).

Steps to reproduce the behaviour

  1. Set up multiple BNB Chain nodes with the configuration options listed above
  2. Verify all nodes are syncing (same eth.syncing output)
  3. Attempt to send transactions from each node
  4. Some nodes succeed while others fail with the error below

Backtrace

> eth.syncing
{
  currentBlock: 49929003,
  healedBytecodeBytes: 0,
  healedBytecodes: 0,
  healedTrienodeBytes: 0,
  healedTrienodes: 0,
  healingBytecode: 0,
  healingTrienodes: 0,
  highestBlock: 49816655,
  startingBlock: 49816653,
  syncedAccountBytes: 0,
  syncedAccounts: 0,
  syncedBytecodeBytes: 0,
  syncedBytecodes: 0,
  syncedStorage: 0,
  syncedStorageBytes: 0,
  txIndexFinishedBlocks: 1294933,
  txIndexRemainingBlocks: 48634071
}

// Log messages on all nodes (both working and failing):
lvl=warn msg="Failed to decode block body" block=48634070 error=EOF
lvl=warn msg="Failed to decode block body" block=48634069 error=EOF
lvl=warn msg="Failed to decode block body" block=48634068 error=EOF

// Error on failing nodes:
Error occurred:
Failed to check for transaction receipt:
{
  "data": "transaction indexing is in progress"
}

Metadata

Metadata

Assignees

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