Skip to content

Commit ccb898f

Browse files
chore: update Photon version to 0.51.0 and git commit reference in install.sh (#1837)
* chore: update Photon version to 0.50.0 and git commit reference in install.sh * chore: update Photon version to 0.51.0 and git commit reference in constants.ts
1 parent ec32e2c commit ccb898f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cli/src/utils/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ export const SOLANA_VALIDATOR_PROCESS_NAME = "solana-test-validator";
1919
export const LIGHT_PROVER_PROCESS_NAME = "light-prover";
2020
export const INDEXER_PROCESS_NAME = "photon";
2121

22-
export const PHOTON_VERSION = "0.50.1";
22+
export const PHOTON_VERSION = "0.51.0";
2323

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

2929
export const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
3030
export const BASE_PATH = "../../bin/";

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ VERSIONS=(
1313
"solana:2.2.15"
1414
"anchor:anchor-v0.29.0"
1515
"jq:jq-1.8.0"
16-
"photon:0.50.1"
16+
"photon:0.51.0"
1717
"redis:8.0.1"
1818
)
1919

@@ -210,7 +210,7 @@ install_photon() {
210210
if [ "$photon_installed" = false ] || [ "$photon_correct_version" = false ]; then
211211
echo "Installing Photon indexer (version $expected_version)..."
212212
# Use git commit for now as specified in constants.ts
213-
cargo install --git https://github.com/lightprotocol/photon.git --rev 49b7e7f0d668babbc4d65fe8a0a7236df76f75a8 --locked --force
213+
cargo install --git https://github.com/lightprotocol/photon.git --rev 6ee3c027226ab9c90dc9d16691cdf76dd2f29dbf --locked --force
214214
log "photon"
215215
else
216216
echo "Photon already installed with correct version, skipping..."

0 commit comments

Comments
 (0)