Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: delete key error if key not found in list #18561

Closed
1 task done
JulianToledano opened this issue Nov 27, 2023 · 0 comments · Fixed by #18562
Closed
1 task done

[Bug]: delete key error if key not found in list #18561

JulianToledano opened this issue Nov 27, 2023 · 0 comments · Fixed by #18562
Labels
C:Keys Keybase, KMS and HSMs S:zondax Squad: Zondax T:Bug

Comments

@JulianToledano
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

If you provide a list of keys to the keys delete command, it will stop and fail if one of those keys is not found.

Let's prompt an error when a key is not found and still delete the following ones.

Cosmos SDK Version

main

How to reproduce?

simd keys add two
simd keys add three
simd keys add four

simd keys delete one two three four

one.info: key not found [cosmos/cosmos-sdk/crypto/keyring/keyring.go:538]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:Keys Keybase, KMS and HSMs S:zondax Squad: Zondax T:Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants