Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 8636eb3

Browse files
authored
token-upgrade-cli: Use test-validator instead of validator (#3611)
1 parent 98c6d3b commit 8636eb3

File tree

3 files changed

+9
-230
lines changed

3 files changed

+9
-230
lines changed

Cargo.lock

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

token-upgrade/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spl-token-upgrade = { version = "0.1", path = "../program", features = ["no-entr
2727
tokio = { version = "1", features = ["full"] }
2828

2929
[dev-dependencies]
30-
solana-validator = "1.11.6"
30+
solana-test-validator = "1.11.6"
3131

3232
[[bin]]
3333
name = "spl-token-upgrade"

token-upgrade/cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ mod test {
495495
use {
496496
super::*,
497497
solana_sdk::{bpf_loader, signer::keypair::Keypair},
498-
solana_validator::test_validator::*,
498+
solana_test_validator::{ProgramInfo, TestValidator, TestValidatorGenesis},
499499
spl_token_client::client::{ProgramClient, SendTransaction},
500500
std::path::PathBuf,
501501
};

0 commit comments

Comments
 (0)