Skip to content

Commit 2c41b37

Browse files
committed
cli: various improvements
* display locked stake and phantom tokens in line with #582 * display total pool asset value and total excess lamports in line with #601 * show total network value for `DisplayAll` in sol rather than lamports * display warnings for a dedelegated pool, nonexistent onramp, and potentially valuable replenish * fix a bug where all `--dry-run` commands claimed to succeed * remove `spl_token_client` including `ProgramClient` * replace all uses of `spl_token`, `vote_program`, and `stake_program` with interface crates
1 parent a36f8c2 commit 2c41b37

7 files changed

Lines changed: 306 additions & 447 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 288 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/cli/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ solana-instruction = "3.0"
3131
solana-keypair = "3.0"
3232
solana-logger = "3.0"
3333
solana-native-token = "3.0"
34+
solana-program-pack = "3.0"
3435
solana-pubkey = "4.1"
3536
solana-remote-wallet = "3.1.3"
3637
solana-rent = "3.0"
@@ -40,13 +41,11 @@ solana-signer = "3.0"
4041
solana-system-interface = "3.0"
4142
solana-sysvar = "3.1"
4243
solana-stake-interface = "2.0.1"
43-
solana-stake-program = "4.0"
4444
solana-transaction = "3.0"
4545
solana-transaction-status = "3.1.3"
46-
solana-vote-program = "3.1"
46+
solana-vote-interface = { version = "5.0.0", features = ["bincode"] }
4747
spl-associated-token-account-interface = "2.0.0"
48-
spl-token = { version = "9.0", features = ["no-entrypoint"] }
49-
spl-token-client = { version = "0.18.0" }
48+
spl-token-interface = "2.0.0"
5049
spl-single-pool = { version = "5.0.0", path = "../../program", features = [
5150
"no-entrypoint",
5251
] }

0 commit comments

Comments
 (0)