Skip to content

chore: update photon commit hash #1863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions cli/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const PHOTON_VERSION = "0.51.0";

// Set these to override Photon requirements with a specific git commit:
export const USE_PHOTON_FROM_GIT = true; // If true, will show git install command instead of crates.io.
export const PHOTON_GIT_REPO = "https://github.com/lightprotocol/photon.git";
export const PHOTON_GIT_COMMIT = "6ee3c027226ab9c90dc9d16691cdf76dd2f29dbf"; // If empty, will use main branch.
export const PHOTON_GIT_REPO = "https://github.com/helius-labs/photon.git";
export const PHOTON_GIT_COMMIT = "b0ad386858384c22b4bb6a3bbbcd6a65911dac68"; // If empty, will use main branch.

export const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
export const BASE_PATH = "../../bin/";
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ install_photon() {
if [ "$photon_installed" = false ] || [ "$photon_correct_version" = false ]; then
echo "Installing Photon indexer (version $expected_version)..."
# Use git commit for now as specified in constants.ts
cargo install --git https://github.com/lightprotocol/photon.git --rev 6ee3c027226ab9c90dc9d16691cdf76dd2f29dbf --locked --force
cargo install --git https://github.com/helius-labs/photon.git --rev b0ad386858384c22b4bb6a3bbbcd6a65911dac68 --locked --force
log "photon"
else
echo "Photon already installed with correct version, skipping..."
Expand Down
Loading