celestia-app icon indicating copy to clipboard operation
celestia-app copied to clipboard

Add ability to rollback to a block height and replay N blocks

Open rootulp opened this issue 5 months ago • 1 comments

Context

Difficult to test the fix proposed in https://github.com/celestiaorg/celestia-app/pull/3826

Problem

It isn't currently possible to rollback to a particular block height (i.e. before the v2 activation height on arabica) and then replay a series of blocks after. This would be extremely useful for testing the PR above.

Proposal

Write a tool that enables maintainers to rollback to a particular block height and then replay N blocks after that. Ideally the blocks are stored locally so that maintainer does not need to refetch them from the p2p layer.

rootulp avatar Aug 28 '24 02:08 rootulp