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
14 changes: 7 additions & 7 deletions Cargo.lock

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

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -158,22 +158,22 @@ light-hash-set = { version = "3.0.0", path = "program-libs/hash-set" }
light-indexed-merkle-tree = { version = "3.0.0", path = "program-libs/indexed-merkle-tree" }
light-concurrent-merkle-tree = { version = "3.0.0", path = "program-libs/concurrent-merkle-tree" }
light-sparse-merkle-tree = { version = "0.2.0", path = "sparse-merkle-tree" }
light-client = { path = "sdk-libs/client", version = "0.14.0" }
light-client = { path = "sdk-libs/client", version = "0.15.0" }
light-hasher = { path = "program-libs/hasher", version = "4.0.0" }
light-macros = { path = "program-libs/macros", version = "2.1.0" }
light-merkle-tree-reference = { path = "program-tests/merkle-tree", version = "3.0.1" }
light-heap = { path = "program-libs/heap", version = "2.0.0" }
light-prover-client = { path = "prover/client", version = "2.0.0" }
light-sdk = { path = "sdk-libs/sdk", version = "0.13.0" }
light-prover-client = { path = "prover/client", version = "3.0.0" }
light-sdk = { path = "sdk-libs/sdk", version = "0.15.0" }
light-sdk-pinocchio = { path = "sdk-libs/sdk-pinocchio", version = "0.13.0" }
light-sdk-macros = { path = "sdk-libs/macros", version = "0.13.0" }
light-sdk-types = { path = "sdk-libs/sdk-types", version = "0.13.0" }
light-sdk-macros = { path = "sdk-libs/macros", version = "0.15.0" }
light-sdk-types = { path = "sdk-libs/sdk-types", version = "0.15.0" }
light-compressed-account = { path = "program-libs/compressed-account", version = "0.5.0" }
light-account-checks = { path = "program-libs/account-checks", version = "0.4.0" }
light-verifier = { path = "program-libs/verifier", version = "4.0.0" }
light-zero-copy = { path = "program-libs/zero-copy", version = "0.4.0" }
light-zero-copy-derive = { path = "program-libs/zero-copy-derive", version = "0.4.0" }
photon-api = { path = "sdk-libs/photon-api", version = "0.51.0" }
photon-api = { path = "sdk-libs/photon-api", version = "0.52.0" }
forester-utils = { path = "forester-utils", version = "2.0.0" }
account-compression = { path = "programs/account-compression", version = "2.0.0", features = [
"cpi",
Expand All @@ -191,7 +191,7 @@ light-registry = { path = "programs/registry", version = "2.0.0", features = [
create-address-test-program = { path = "program-tests/create-address-test-program", version = "1.0.0", features = [
"cpi",
] }
light-program-test = { path = "sdk-libs/program-test", version = "0.14.0" }
light-program-test = { path = "sdk-libs/program-test", version = "0.15.0" }
light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version = "0.5.0" }
light-merkle-tree-metadata = { path = "program-libs/merkle-tree-metadata", version = "0.5.0" }
aligned-sized = { path = "program-libs/aligned-sized", version = "1.1.0" }
Expand Down
2 changes: 1 addition & 1 deletion prover/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-prover-client"
version = "2.0.0"
version = "3.0.0"
description = "Crate for interacting with Light Protocol circuits"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions scripts/create-release-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ get_version_changes() {
diff_args=("$base_ref...$head_ref")
fi

# Get list of changed Cargo.toml files in program-libs, sdk-libs, and program-tests/merkle-tree
# Get list of changed Cargo.toml files in program-libs, sdk-libs, program-tests/merkle-tree, sparse-merkle-tree, and prover
while IFS= read -r file; do
# Extract old and new version from the diff
local versions=$(git diff "${diff_args[@]}" -- "$file" | grep -E '^\+version|^-version' | grep -v '+++\|---')
Expand All @@ -60,7 +60,7 @@ get_version_changes() {
echo "$pkg_name $old_ver $new_ver"
fi
fi
done < <(git diff "${diff_args[@]}" --name-only -- '**/Cargo.toml' | grep -E '(program-libs|sdk-libs|program-tests/merkle-tree)/')
done < <(git diff "${diff_args[@]}" --name-only -- '**/Cargo.toml' | grep -E '(program-libs|sdk-libs|program-tests/merkle-tree|sparse-merkle-tree|prover)/')
}

# Check if there are changes
Expand Down
4 changes: 2 additions & 2 deletions scripts/detect-version-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ else
DIFF_ARGS=("$BASE_REF...$HEAD_REF")
fi

# Get list of changed Cargo.toml files in program-libs, sdk-libs, program-tests/merkle-tree, and sparse-merkle-tree
for file in $(git diff "${DIFF_ARGS[@]}" --name-only -- '**/Cargo.toml' | grep -E '(program-libs|sdk-libs|program-tests/merkle-tree|sparse-merkle-tree)/'); do
# Get list of changed Cargo.toml files in program-libs, sdk-libs, program-tests/merkle-tree, sparse-merkle-tree, and prover
for file in $(git diff "${DIFF_ARGS[@]}" --name-only -- '**/Cargo.toml' | grep -E '(program-libs|sdk-libs|program-tests/merkle-tree|sparse-merkle-tree|prover)/'); do
# Extract old and new version from the diff
versions=$(git diff "${DIFF_ARGS[@]}" -- "$file" | grep -E '^\+version|^-version' | grep -v '+++\|---')
old_ver=$(echo "$versions" | grep '^-version' | head -1 | awk -F'"' '{print $2}')
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ echo ""
echo "Running compilation check..."
for pkg in "${PACKAGES[@]}"; do
echo " Checking $pkg..."
if ! cargo check -p "$pkg" --all-features 2>&1 | tail -20; then
if ! cargo test -p "$pkg" --all-features --no-run 2>&1 | tail -20; then
echo "Error: Compilation check failed for $pkg"
exit 1
fi
Expand Down
3 changes: 1 addition & 2 deletions sdk-libs/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-client"
version = "0.14.0"
version = "0.15.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/lightprotocol/light-protocol"
Expand Down Expand Up @@ -44,7 +44,6 @@ light-sdk = { workspace = true }
light-hasher = { workspace = true }
light-compressed-account = { workspace = true, features = ["solana"] }

# unrelased
photon-api = { workspace = true }
light-prover-client = { workspace = true }
litesvm = { workspace = true, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-sdk-macros"
version = "0.13.0"
version = "0.15.0"
description = "Macros for Programs using the Light SDK for ZK Compression "
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/photon-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "photon-api"
version = "0.51.0"
version = "0.52.0"
authors = ["OpenAPI Generator team and contributors"]
description = "Solana indexer for general compression"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/program-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-program-test"
version = "0.14.0"
version = "0.15.0"
description = "A fast local test environment for Solana programs using compressed accounts and tokens."
license = "MIT"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/sdk-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-sdk-types"
version = "0.13.0"
version = "0.15.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/lightprotocol/light-protocol"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-sdk"
version = "0.13.0"
version = "0.15.0"
description = "Rust SDK for ZK Compression on Solana"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
Loading