Closed
Description
opened on Apr 21, 2022
Summary of Bug
I am currently trying COSMOS ACADEMY's Running a Chain.
I am following the instructions here, but I cannot use the unsafe-reset-all command to reset the database after make build.
I also ran the help command to check, but there does not appear to be an unsafe-reset-all command that can be run.
./simd --help
simulation app
Usage:
simd [command]
Available Commands:
add-genesis-account Add a genesis account to genesis.json
collect-gentxs Collect genesis txs and output a genesis.json file
config Create or query an application CLI configuration file
debug Tool for helping with debugging your application
export Export state to JSON
gentx Generate a genesis tx carrying a self delegation
help Help about any command
init Initialize private validator, p2p, genesis, and application configuration files
keys Manage your application's keys
migrate Migrate genesis to a specified target version
query Querying subcommands
rollback rollback cosmos-sdk and tendermint state by one height
rosetta spin up a rosetta server
start Run the full node
status Query remote node for status
tendermint Tendermint subcommands
testnet Initialize files for a simapp testnet
tx Transactions subcommands
validate-genesis validates the genesis file at the default location or at the location passed as an arg
version Print the application binary version information
Flags:
-h, --help help for simd
--home string directory for config and data (default "/Users/takapi327/.simapp")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
--trace print out full stack trace on errors
Use "simd [command] --help" for more information about a command.
I have never seen a problem where unsafe-reset-all is not available, so I assume it is a problem with the execution environment.
Has anyone else experienced similar problems in the same environment as me?
Also, is there any way to reset the database if unsafe-reset-all is not available?
Version
Cosmos SDK: v0.45.3
GO: go1.18 darwin/amd64
Execution environment
OS: macOS Monterey v12.1
chip: Apple M1
Steps to Reproduce
$ git clone https://github.com/cosmos/cosmos-sdk
$ git checkout v0.45.3
$ make build
$ cd build
$ ./simd unsafe-reset-all
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Metadata
Assignees
Labels
No labels
Activity