Skip to content

test(prune): add tests verifying storage settings are respected for backend selection#21705

Closed
HuberyJulianay wants to merge 1 commit intoparadigmxyz:mainfrom
HuberyJulianay:test/history-prune-dual-config
Closed

test(prune): add tests verifying storage settings are respected for backend selection#21705
HuberyJulianay wants to merge 1 commit intoparadigmxyz:mainfrom
HuberyJulianay:test/history-prune-dual-config

Conversation

@HuberyJulianay
Copy link
Contributor

@HuberyJulianay HuberyJulianay commented Feb 2, 2026

Add tests to ensure that when rocksdb feature is enabled but storage settings specify MDBX (account_history_in_rocksdb=false, storages_history_in_rocksdb=false), the pruner correctly uses the MDBX path and does not touch RocksDB data.

This addresses the integration testing suggestion from review:

  • Tests both account_history and storage_history pruning
  • Verifies MDBX data is pruned
  • Verifies RocksDB data is NOT modified when settings indicate MDBX backend

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Feb 2, 2026
@HuberyJulianay HuberyJulianay force-pushed the test/history-prune-dual-config branch from c8cf216 to 5bd3057 Compare February 2, 2026 15:01
@HuberyJulianay HuberyJulianay force-pushed the test/history-prune-dual-config branch 2 times, most recently from 147acfd to 925c29f Compare February 2, 2026 15:10
@HuberyJulianay HuberyJulianay force-pushed the test/history-prune-dual-config branch from 925c29f to 77759fe Compare February 2, 2026 15:12
@github-actions github-actions bot added the S-stale This issue/PR is stale and will close with no further activity label Feb 24, 2026
@emmajam
Copy link
Member

emmajam commented Feb 26, 2026

Hey! We're doing some spring cleaning on our PR backlog 🧹 Closing old PRs to keep things tidy. If this is still relevant, please feel free to re-open — we appreciate your contribution!

@emmajam emmajam closed this Feb 26, 2026
@github-project-automation github-project-automation bot moved this from Backlog to Done in Reth Tracker Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-stale This issue/PR is stale and will close with no further activity

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants