0g-chain/cmd/kava
Robert Pirtle 58621577ae
feat(cli): add shard CLI command (#1785)
* stub out shard CLI command

* prune blocks before and after desired range

* update rollback to use patched cometbft

* temp override for local patched versions

* handle pruning cometbft & block store state

* include docs & support -1 for "latest"

* update changelog

* add --only-app-state flag to match cosmos-sdk prune cmd

* give -1 magic number a name & reuse home from ctx

* refactor to only open state.db & blockstore.db once

* write rollback progress to one line

* prevent attempting rollback of future blocks

* make shard inclusive of endblock

* use tagged cosmo-sdk & cometbft versions
2024-01-05 11:25:53 -08:00
..
cmd feat(cli): add shard CLI command (#1785) 2024-01-05 11:25:53 -08:00
opendb fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) 2023-11-20 15:27:16 -08:00
main.go Fix unsafe-reset-all command (#1238) 2022-05-04 18:05:07 -06:00