Skip to content
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
2,959 changes: 1,631 additions & 1,328 deletions Cargo.lock

Large diffs are not rendered by default.

57 changes: 29 additions & 28 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,40 +48,40 @@ solana-program = "4.0"
solana-pubkey = "4.2"
solana-cpi = "3.1"
solana-msg = { version = "3.1" }
solana-sysvar = { version = "4.0" }
solana-sysvar = { version = "4.1" }
solana-program-error = { version = "3.0" }
solana-define-syscall = { version = "5.1" }
solana-define-syscall = { version = "5.2" }
solana-account-info = { version = "3.1" }
solana-clock = { version = "3.0" }
solana-clock = { version = "3.1" }
solana-loader-v3-interface = { version = "8.0" }
solana-instruction = "3.4"
solana-system-interface = { version = "3.2" }
# Solana RPC / client stack (for light-client)
solana-rpc-client = "4.0.0-rc.0"
solana-rpc-client-api = "4.0.0-rc.0"
solana-account-decoder-client-types = "4.0.0-rc.0"
solana-transaction-status-client-types = "4.0.0-rc.0"
solana-banks-client = { version = "4.0.0-rc.0", features = ["agave-unstable-api"] }
solana-message = "3.1"
solana-transaction = "3.1"
solana-transaction-error = "3.0"
solana-hash = "4.3"
solana-rpc-client = "4.2"
solana-rpc-client-api = "4.2"
solana-account-decoder-client-types = "4.2"
solana-transaction-status-client-types = "4.2"
solana-banks-client = { version = "4.2", features = ["agave-unstable-api"] }
solana-message = "4.4"
solana-transaction = "4.1"
solana-transaction-error = "3.3"
solana-hash = "4.5"
solana-signature = "3.4"
solana-commitment-config = "3.1"
solana-account = "3.4"
solana-account = "4.3"
solana-keypair = "3.1.2"
solana-compute-budget-interface = "3.0"

# SPL
spl-token-2022-interface = "2.0"
spl-token-2022-interface = "3.1"
spl-pod = "0.7"

# Pinocchio
pinocchio = { version = "0.9" }
pinocchio-system = { version = "0.3.0" }

# Anchor
anchor-lang = { version = "1.0.2" }
anchor-lang = { version = "1.2.0" }

# Anchor compatibility (Anchor 1.0 uses borsh 1.x)
borsh = { version = "1.5", default-features = false, features = ["derive"] }
Expand Down Expand Up @@ -120,9 +120,10 @@ base64 = "0.13"
futures = "0.3.31"
smallvec = "1.15"
serde_json = "1.0"
bincode = "1.3"
lazy_static = "1.5.0"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
litesvm = "0.12"
litesvm = "0.16"
photon-api = "0.56.0"

# Light Protocol (published crates)
Expand All @@ -131,18 +132,18 @@ light-poseidon = { version = "0.4.0" }
light-program-profiler = { version = "0.1.0" }

# Light Protocol (local crates)
light-hasher = { path = "hasher", version = "6.0.1", default-features = false }
light-hasher = { path = "hasher", version = "7.0.0", default-features = false }
light-macros = { path = "macros", version = "3.0.0" }
light-sdk-macros = { path = "sdk-macros", version = "0.24.0" }
light-sdk = { path = "sdk", version = "0.24.0", default-features = false }
light-sdk-types = { path = "sdk-types", version = "0.24.0", default-features = false }
light-account-checks = { path = "account-checks", version = "0.9.0", default-features = false }
light-sdk-macros = { path = "sdk-macros", version = "0.25.0" }
light-sdk = { path = "sdk", version = "0.25.0", default-features = false }
light-sdk-types = { path = "sdk-types", version = "0.25.0", default-features = false }
light-account-checks = { path = "account-checks", version = "0.10.0", default-features = false }
light-zero-copy = { path = "zero-copy", version = "0.7.0", default-features = false }
light-zero-copy-derive = { path = "zero-copy-derive", version = "0.7.0" }
light-concurrent-merkle-tree = { path = "concurrent-merkle-tree", version = "6.0.0" }
light-indexed-merkle-tree = { path = "indexed-merkle-tree", version = "6.0.0" }
light-indexed-array = { path = "indexed-array", version = "0.4.0" }
light-merkle-tree-metadata = { path = "merkle-tree-metadata", version = "0.12.0" }
light-merkle-tree-reference = { path = "merkle-tree-reference", version = "5.0.0" }
light-event = { path = "event", version = "0.24.0" }
light-prover-client = { path = "prover-client", version = "9.0.0" }
light-concurrent-merkle-tree = { path = "concurrent-merkle-tree", version = "7.0.0" }
light-indexed-merkle-tree = { path = "indexed-merkle-tree", version = "7.0.0" }
light-indexed-array = { path = "indexed-array", version = "0.5.0" }
light-merkle-tree-metadata = { path = "merkle-tree-metadata", version = "0.13.0" }
light-merkle-tree-reference = { path = "merkle-tree-reference", version = "6.0.0" }
light-event = { path = "event", version = "0.25.0" }
light-prover-client = { path = "prover-client", version = "10.0.0" }
2 changes: 1 addition & 1 deletion account-checks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-account-checks"
version = "0.9.0"
version = "0.10.0"
description = "Checks for solana accounts."
readme = "README.md"
repository = "https://github.com/Lightprotocol/light-protocol"
Expand Down
10 changes: 8 additions & 2 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-client"
version = "0.24.1"
version = "0.25.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/lightprotocol/light-protocol"
Expand Down Expand Up @@ -32,7 +32,7 @@ solana-account = { workspace = true }
solana-keypair = { workspace = true }
solana-compute-budget-interface = { workspace = true }
solana-banks-client = { workspace = true, optional = true }
solana-address-lookup-table-interface = { version = "2.2.1", features = [
solana-address-lookup-table-interface = { version = "3.1", features = [
"bytemuck",
"bincode",
] }
Expand Down Expand Up @@ -67,8 +67,14 @@ futures = { workspace = true }
smallvec = { workspace = true }

serde_json = { workspace = true }
bincode = { workspace = true }
tracing = { workspace = true }
lazy_static = { workspace = true }
rand = { workspace = true }

# Tests are in program-tests/client-test/tests/light-client.rs

[dev-dependencies]
agave-feature-set = "4.2"
solana-signer = "3"
solana-system-interface = { workspace = true, features = ["bincode"] }
4 changes: 2 additions & 2 deletions client/src/indexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ pub use types::{
InputQueueData, InterfaceTreeInfo, MerkleProof, MerkleProofWithContext,
NewAddressProofWithContext, NextTreeInfo, OutputQueueData, OwnerBalance, ProofOfLeaf,
QueueElementsResult, QueueInfo, QueueInfoResult, QueueLeafIndex, RootIndex,
SignatureWithMetadata, SolanaAccountData, StateMerkleTreeAccounts, StateQueueData, TokenBalance,
TreeInfo, ValidityProofWithContext,
SignatureWithMetadata, SolanaAccountData, StateMerkleTreeAccounts, StateQueueData,
TokenBalance, TreeInfo, ValidityProofWithContext,
};
mod options;
pub use options::*;
1 change: 0 additions & 1 deletion client/src/indexer/photon_indexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1644,4 +1644,3 @@ impl PhotonIndexer {
.await
}
}

2 changes: 1 addition & 1 deletion client/src/indexer/types/proof.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use light_sdk::instruction::PackedAccounts;
use light_sdk_types::lca::instruction_data::compressed_proof::CompressedProof;
use light_sdk::instruction::{PackedAddressTreeInfo, PackedStateTreeInfo, ValidityProof};
use light_sdk_types::lca::instruction_data::compressed_proof::CompressedProof;
use solana_pubkey::Pubkey;

use super::{
Expand Down
Loading