Skip to content

feat(cast): display public_key on wallet creation with "new" and "new-mnemonic" sub-commands #10600

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mablr
Copy link
Contributor

@mablr mablr commented May 23, 2025

Motivation

Resolve #9748

Solution

The method used to obtain public_key with the wallet is taken from "public-key" sub-command.

Update tests to match the new outputs:

  • update redactions for pubkey and to match various spacings
  • use raw data for assertion in "wallet_mnemonic_from_entropy" to avoid conflict with redactions

PR Checklist

  • Updated tests
  • Added Documentation
  • Breaking changes ?

@mablr mablr marked this pull request as draft May 23, 2025 09:28
@mablr mablr force-pushed the feature/cast-wallet-display-pubkey branch 2 times, most recently from 232b8f5 to 90ca4e6 Compare May 23, 2025 10:59
@mablr mablr marked this pull request as ready for review May 23, 2025 11:21
…-mnemonic" subcommands

The method used to obtain public_key with the wallet is taken from "public-key" subcommand.

Update tests to match the new outputs:
  - match pubkey
  - update redactions for pubkey and to match various spacings
  - use raw data for assertion in "wallet_mnemonic_from_entropy" to avoid conflict with redactions
@mablr mablr force-pushed the feature/cast-wallet-display-pubkey branch from 90ca4e6 to ffeefa2 Compare May 26, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

feat(cast wallet) display pubkey when creating new keypair or converting private key to an address
1 participant