Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions cli/src/commands/test-validator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ class SetupCommand extends Command {
description: "Skip resetting the ledger.",
default: false,
}),
"use-surfpool": Flags.boolean({
description:
"Use surfpool instead of solana-test-validator (default). Pass --no-use-surfpool to use solana-test-validator.",
default: true,
allowNo: true,
}),
};

validatePrograms(
Expand Down Expand Up @@ -272,6 +278,7 @@ class SetupCommand extends Command {
: undefined,
verbose: flags.verbose,
skipReset: flags["skip-reset"],
useSurfpool: flags["use-surfpool"],
});
this.log("\nSetup tasks completed successfully \x1b[32m✔\x1b[0m");
}
Expand Down
4 changes: 4 additions & 0 deletions cli/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ export const DEFAULT_CONFIG = {
export const CARGO_GENERATE_TAG = "v0.18.4";

export const SOLANA_VALIDATOR_PROCESS_NAME = "solana-test-validator";
export const SURFPOOL_PROCESS_NAME = "surfpool";
export const LIGHT_PROVER_PROCESS_NAME = "light-prover";
export const INDEXER_PROCESS_NAME = "photon";

export const SURFPOOL_VERSION = "1.0.1";
export const SURFPOOL_RELEASE_TAG = "v1.0.1-light";

export const PHOTON_VERSION = "0.51.2";

// Set these to override Photon requirements with a specific git commit:
Expand Down
Loading