Tags: Kava-Labs/cosmos-sdk
Tags
cli: add --unsafe-remove-modules flag to Rollback (#549) * rollback command accepts list of store keys names to forcibly delete this is useful for rolling back an upgrade that adds modules. rollbacks are performed by loading & committing the previous version. without this new functionality, the rollback will fail because no store version will exist for modules added during the upgrade. to properly rollback the state, pass in a list of the added module names and they will be completely removed before the rollback of pre-existing modules takes place: ``` chain rollback --unsafe-remove-modules mynewmodule,othernewmodule ```
cli: add --unsafe-remove-modules flag to Rollback (#549) * rollback command accepts list of store keys names to forcibly delete this is useful for rolling back an upgrade that adds modules. rollbacks are performed by loading & committing the previous version. without this new functionality, the rollback will fail because no store version will exist for modules added during the upgrade. to properly rollback the state, pass in a list of the added module names and they will be completely removed before the rollback of pre-existing modules takes place: ``` chain rollback --unsafe-remove-modules mynewmodule,othernewmodule ```
feat: add --unsafe-remove-modules flag to Rollback cmd (#546) * add --unsafe-remove-modules flag to Rollback cmd * adds public DeleteKVStore method on root multistore * rollback command accepts list of store keys names to forcibly delete this is useful for rolling back an upgrade that adds modules. rollbacks are performed by loading & committing the previous version. without this new functionality, the rollback will fail because no store version will exist for modules added during the upgrade. to properly rollback the state, pass in a list of the added module names and they will be completely removed before the rollback of pre-existing modules takes place: ``` chain rollback --unsafe-remove-modules mynewmodule,othernewmodule ``` * add DeleteVersionsFrom to Tree like DeleteVersionsTo, but deletes the given version & upwards * write deletion of current & future versions * rename DeleteKVStore -> DeleteLatestVersion * remove unnecessary deleteKVStore call the DeleteVersionsFrom on the unwrapped KVStore should be sufficient
deps: use patched iavl v1 version v1.2.0-kava.1 (#545) includes patches for: * fixed initial version of added KVStores * expose DeleteVersionsFrom on MutableTree patches are published here: https://github.com/Kava-Labs/kava-patches/tree/19bf1a78805a33fe7a27044f2b03dc3ce1d90392/iavl-v1.2
Merge pull request #541 from Kava-Labs/iavl-v1-upgrade replace store module tendermint-db require with cometbft-db
Merge pull request #540 from Kava-Labs/iavl-v1-upgrade merge backported cosmos-sdk upgrade to iavl v1 to kava's v47 fork
add patch for kava v0.23.0 upgrade block to adjust gas tracking for f… …irst transaction affected by runTx gas bug where begin blocker gas is charged to first transaction when validate basic fails since the gas meter is not reset until ante runs
PreviousNext