Skip to content

cli: display scaled ui and pausable extensions#1305

Open
oxy-Op wants to merge 1 commit into
solana-program:mainfrom
oxy-Op:cli-display-scaled-ui-pausable
Open

cli: display scaled ui and pausable extensions#1305
oxy-Op wants to merge 1 commit into
solana-program:mainfrom
oxy-Op:cli-display-scaled-ui-pausable

Conversation

@oxy-Op

@oxy-Op oxy-Op commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Addresses #125.

Adds spl-token display output for Token-2022 scaled UI amount and pausable extensions.

The CLI can already initialize these extensions, and the current solana-account-decoder version exposes the corresponding UI extension variants. This updates the display formatter to render:

  • ScaledUiAmountConfig
  • PausableConfig
  • PausableAccount

Also extends the existing CLI tests to assert that display output includes the new extension sections.

Verification:

  • cargo fmt --check --manifest-path clients/cli/Cargo.toml
  • cargo check --manifest-path clients/cli/Cargo.toml --bin spl-token

Full test-target check was blocked locally by missing Windows build dependencies (libclang, perl).

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.

1 participant