Skip to content

CLI: Add cli crate into workspace - #280

Merged
aoikurokawa merged 3 commits into
masterfrom
ak/cli
Aug 11, 2026
Merged

aoikurokawa merged 3 commits into
masterfrom
ak/cli

Conversation

@aoikurokawa

@aoikurokawa aoikurokawa commented Aug 8, 2026 •

Copy link
Copy Markdown
Collaborator

Test

cargo r -p jito-restaking-cli -- restaking operator list-operator-vault-ticket GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6
   Compiling jito-restaking-cli v1.0.1 (/Users/aoikurokawa/dev/restaking/cli)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.18s
     Running `target/debug/jito-restaking-cli restaking operator list-operator-vault-ticket GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6`
[2026-08-08T00:32:02Z INFO  jito_restaking_cli] jito_restaking_client::generated::accounts::operator_vault_ticket::OperatorVaultTicket at 99K1ANsju78kqUsmZc1TbXJpci9ckKeWmQCbe2kpts9D
[2026-08-08T00:32:02Z INFO  jito_restaking_cli]
    Operator Vault Ticket Account

    ━━━ Basic Information ━━━
      Operator: GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6
      Vault: HR1ANmDHjaEhknvsTaK48M5xZtbBiwNdXM5NTiWhAb4S
      Index: 6
      Bump: 255

    ━━━ State ━━━
      Opt-In Added: 437872147
      Opt-In Removed: 437872116

[2026-08-08T00:32:02Z INFO  jito_restaking_cli] jito_restaking_client::generated::accounts::operator_vault_ticket::OperatorVaultTicket at 9xHEcTmVcbqKY9LRQbiSicpP5sEUVw1AanFrznqPmiyb
[2026-08-08T00:32:02Z INFO  jito_restaking_cli]
    Operator Vault Ticket Account

    ━━━ Basic Information ━━━
      Operator: GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6
      Vault: ABsoYTwRPBJEf55G7N8hVw7tQnDKBA6GkZCKBVrjTTcf
      Index: 3
      Bump: 255

    ━━━ State ━━━
      Opt-In Added: 437871777
      Opt-In Removed: 437871745

[2026-08-08T00:32:02Z INFO  jito_restaking_cli] jito_restaking_client::generated::accounts::operator_vault_ticket::OperatorVaultTicket at Ezx9d2GKq9M3p53NbX2QMoKBqjqD69x6THHE9WAfdx6S
[2026-08-08T00:32:02Z INFO  jito_restaking_cli]
    Operator Vault Ticket Account

    ━━━ Basic Information ━━━
      Operator: GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6
      Vault: AKkqZwemKgFJG86FYQmmS8f8TVDqjfd56b2LYdSZLAPF
      Index: 5
      Bump: 255

    ━━━ State ━━━
      Opt-In Added: 437872001
      Opt-In Removed: 437871971

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds the cli crate to the Rust workspace so it participates in normal workspace builds/lints and is represented in dependency resolution/locking.

Changes:

  • Registers cli/ as a workspace member in the root Cargo.toml.
  • Updates Cargo.lock to include the CLI crate and its resolved dependency graph (including Solana CLI-related crates and transitive deps).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
Cargo.toml Adds cli to [workspace].members so it is built/linted/tested as part of the workspace.
Cargo.lock Locks the newly included CLI crate and updates resolved dependency versions accordingly.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@aoikurokawa
aoikurokawa marked this pull request as ready for review August 8, 2026 00:19
@aoikurokawa aoikurokawa changed the title Add cli crate into workspace CLI: Add cli crate into workspace Aug 8, 2026
@codecov

codecov Bot commented Aug 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@aoikurokawa
aoikurokawa merged commit db90840 into master Aug 11, 2026
9 checks passed
@aoikurokawa
aoikurokawa deleted the ak/cli branch August 11, 2026 17:35
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.

3 participants