Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crypto-com/python-iavl
iavl inspection tool implemented in python
https://github.com/crypto-com/python-iavl
Last synced: 8 days ago
JSON representation
iavl inspection tool implemented in python
- Host: GitHub
- URL: https://github.com/crypto-com/python-iavl
- Owner: crypto-com
- License: other
- Fork: true (yihuang/python-iavl)
- Created: 2022-11-10T05:24:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-09T08:57:43.000Z (over 1 year ago)
- Last Synced: 2024-01-25T04:52:44.164Z (10 months ago)
- Language: Python
- Size: 117 KB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cosmos - python-iavl - IAVL inspection tool implemented in Python. (Testing / Terminal Block Explorers)
README
`python-iavl` implements [iavl tree](https://github.com/cosmos/iavl) in python, and provides a cli tool to inspect the cosmos-sdk application db, can be used for debugging production issues, or doing fast rollback.
The cli tool can be run as nix flake on the fly, there are two exposed app, the `iavl-cli`(the default one) is for rocksdb db backend, the `iavl-cli-leveldb` is for goleveldb backend.
```
$ nix run github:crypto-com/python-iavl/$GIT_REF#iavl-cli -- --help
Usage: iavl [OPTIONS] COMMAND [ARGS]...Options:
--help Show this message and exit.Commands:
commit-infos print latest version and commit infos of...
diff-fastnode compare fast node index with latest iavl tree...
dump-changesets extract changeset by comparing iavl versions and...
fast-node print the content of a fast node
fast-rollback A quick and dirty way to rollback chain state,...
metadata print storage version and latest version of iavl...
node print the content of a node
print-changeset decode and print the content of changeset files
range-fastnode iterate fast node index
range-iavl iterate iavl tree
root-hash print root hashes of iavl stores
root-node print root nodes of iavl stores
test-state-round-trip extract state changes from iavl versions,...
visualize visualize iavl tree with dot, example: $...
```