cli
cli copied to clipboard
json: cannot unmarshal string into Go value of type []chaincmdrunner.Account
Describe the bug

To reproduce Steps to reproduce the behavior:
- ignite chain serve --force-reset -v
Since the latest version of cosmos-sdk if without an account, the output will say "No records were found in keyring", which will cause the JSON serialization to fail
What version are you using?
❯ ignite version Ignite CLI version: development Ignite CLI build date: 2022-10-12T14:16:24 Ignite CLI source hash: 21c6430cfcc17c69885524990c448d4a3f56461c Your OS: darwin Your arch: arm64 Your Node.js version: v14.18.2 Your go version: go version go1.18 darwin/arm64 Your uname -a: Darwin Alberts-MBP 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64 Your cwd: /Users/alberthuang/code/sodium Is on Gitpod: false
Hey @alberthuang24 I can't reproduce the issue, can you retry with the latest ignite ? Check the nightly release https://github.com/ignite/cli/releases/tag/nightly

Yes, after I delete all the keys, it has this problem
Maybe having cosmos-sdk print error messages via stderr will solve the problem
What is the query or the transaction you run to trigger this error ?
What is the query or the transaction you run to trigger this error ?
@tbruyelle I got this error while working on an SPN related issue. I was not able to start SPN because of this.