github bnb-chain/reth-bsc v0.0.6-triedb-alpha

9 hours ago

Description

v0.0.6-triedb-alpha supports reth-bsc-triedb as an alternative state storage backend for Reth, in addition to the default MDBX backend.

The integration allows users to choose between MDBX (default) and TrieDB backends via the --statedb.triedb CLI flag. When enabled, reth-bsc-triedb uses RocksDB as the underlying storage engine, which can significantly improve performance under high-traffic scenarios.

The detail see: reth: support triedb as the state storage backend

⚠️ Note

  • Currently, reth-bsc-triedb only releases fullnode snapshot; the archive snapshot is coming soon.
  • This version uses the newly released triedb snapshot format, which is not compatible with previous snapshot versions.
  • Using the --statedb.triedb flag with old snapshot data will cause irreversible data corruption.
  • TrieDB snapshot size is approximately ~300GB larger than the previous format; ensure adequate disk space is available.
  • When TrieDB is active, the following RPC methods are not supported:
    RPC Method Description
    eth_getProof Merkle proof generation
    eth_getAccount Account state retrieval with storage root
    debug_state_root_with_updates State root calculation with trie updates
    debug_execution_witness / debug_execution_witness_by_block_hash Execution witness generation
    validation_validateBuilderSubmissionV1 - V5 Builder submission validation

What's Changed

Full Changelog: v0.0.5-beta...v0.0.6-triedb-alpha

Don't miss a new reth-bsc release

NewReleases is sending notifications on new releases.