Skip to content

Conversation

@shekhirin
Copy link
Collaborator

The field name was misleading as it only controls prewarming behavior, not caching. This renames the field and related methods to accurately reflect what the configuration option does.

The field name was misleading as it only controls prewarming behavior,
not caching. This renames the field and related methods to accurately
reflect what the configuration option does.

Changes:
- Renamed TreeConfig field from disable_caching_and_prewarming to disable_prewarming
- Updated all method names and documentation
- Added CLI flag alias for backward compatibility (--engine.disable-caching-and-prewarming)
@shekhirin shekhirin added C-debt A clean up/refactor of existing code A-cli Related to the reth CLI labels Oct 16, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Oct 16, 2025
@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Oct 16, 2025
@shekhirin shekhirin enabled auto-merge October 16, 2025 10:50
@shekhirin shekhirin added this pull request to the merge queue Oct 16, 2025
Merged via the queue into main with commit e969262 Oct 16, 2025
40 of 41 checks passed
@shekhirin shekhirin deleted the alexey/rename-prewarming-config branch October 16, 2025 11:13
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Oct 16, 2025
@yongkangc
Copy link
Member

Nice one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Related to the reth CLI C-debt A clean up/refactor of existing code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants