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

[cli/alias] Add alias to keytool list #15168

Merged

Conversation

stefan-mysten
Copy link
Contributor

Description

Display alias for each key when calling sui keytool list.

Test Plan

Extra tests added for new keystore APIs that were introduced.

image

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.

Type of Change (Check all that apply)

  • protocol change
  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

Added functionality to show the aliases of each address when calling the sui keytool list CLI command.

Copy link

vercel bot commented Dec 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mysten-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 7:07pm
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 7:07pm
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 7:07pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2023 7:07pm
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2023 7:07pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2023 7:07pm

Copy link
Contributor

@amnn amnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit on this one, but otherwise looks good!

crates/sui/src/keytool.rs Outdated Show resolved Hide resolved
@stefan-mysten stefan-mysten enabled auto-merge (squash) December 4, 2023 19:07
@stefan-mysten stefan-mysten merged commit 2dcc45a into MystenLabs:main Dec 4, 2023
39 checks passed
gdanezis pushed a commit that referenced this pull request Dec 15, 2023
## Description 

Display alias for each key when calling `sui keytool list`. 

## Test Plan 

Extra tests added for new keystore APIs that were introduced.


<img width="1081" alt="image"
src="https://github.com/MystenLabs/sui/assets/135084671/60694bc3-40bf-46b0-8756-c42e9bfa52ef">


---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [x] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
Added functionality to show the aliases of each address when calling the
`sui keytool list` command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants