-
Notifications
You must be signed in to change notification settings - Fork 780
Description
Feature Request
Summary
The latest version of Cosmos SDK imports state and store packages (which in v1 are internal, meaning can't be imported outside of CometBFT).
Problem Definition
Previously, the way to test something on a testnet for a single validator was by modifying the genesis.json file and skipping blocksync as indicated in #1679. A new solution was developed because exporting genesis.json can take minutes and requires lots of RAM. Instead of modifying the genesis.json file, Cosmos SDK directly modifies the chain's state and updates the store: https://github.com/cosmos/cosmos-sdk/blob/main/server/start.go#L729. For that, it needs access to state and store packages, which are currently internal.
Proposal
Either create a subset of API needed for ^ or completely reexport state and store packages.