celestia-app
celestia-app copied to clipboard
Add ability to rollback to a block height and replay N blocks
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.