Skip to content

Conversation

@fmoletta
Copy link
Contributor

Motivation
When using the targets start-%-metrics-docker we often run into two annoying problems:

  • The consensus client is stuck syncing from an old checkpoint as it was used previously and its data was not cleared
  • The node has inconsistent data from a previous run
    These two can be easily solved by removing the previous stale data on the clients (either removed manually or via purge-db/ removedb options). This PR proposes adding some makefile targets to make this easier (aka using the same preset paths according to the network that the other targets on the Makefile use)

Description

  • Add targets clear-lighthouse, clear-ethrex and clear-data to remove stale data from previous runs of other targets on the Makefile

@github-actions github-actions bot added the L1 Ethereum client label Nov 13, 2025
@fmoletta fmoletta marked this pull request as ready for review November 13, 2025 20:30
@fmoletta fmoletta requested a review from a team as a code owner November 13, 2025 20:30
@ethrex-project-sync ethrex-project-sync bot moved this to In Review in ethrex_l1 Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

3 participants