fetchai / fetchd

Source code for Fetch.ai blockchain nodes
Other
96 stars 40 forks source link

feat: Cli prune command #308

Closed MissingNO57 closed 1 year ago

MissingNO57 commented 1 year ago

Requires CosmosSDK v0.45.9 -> can be merged after #292

Example:

fetchd internal pruning list --pruning 'everything' fetchd internal pruning apply --pruning 'everything'

fetchd internal pruning list --pruning 'everything'
Versions to be pruned:
feegrant: 2524..2527
acc: 2524..2527
ibc: 2524..2527
evidence: 2524..2527
slashing: 2524..2527
icahost: 2524..2527
bank: 2524..2527
params: 2524..2527
mint: 2524..2527
authz: 2524..2527
wasm: 2524..2527
upgrade: 2524..2527
gov: 2524..2527
distribution: 2524..2527
transfer: 2524..2527
staking: 2524..2527
capability: 2524..2527
fetchd internal pruning apply --pruning 'everything'
pruning heights start from 1, end at 2527
successfully pruned the application root multi stores
fetchd internal pruning list --pruning 'everything'
Versions to be pruned:
slashing: nothing
gov: nothing
staking: nothing
capability: nothing
mint: nothing
evidence: nothing
ibc: nothing
params: nothing
feegrant: nothing
acc: nothing
wasm: nothing
transfer: nothing
icahost: nothing
bank: nothing
distribution: nothing
upgrade: nothing
authz: nothing
github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 14cc470):

https://fetch-docs-preview--pr308-feature-pruning-oiexrxhc.web.app

(expires Tue, 09 May 2023 10:31:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f2de39fd4e81249941960b74fbab0a62d90d69f8

pbukva commented 1 year ago

Superseded by the "feat: Pruning - expose cli command (#327)".