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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cargo test -p light-hash-set --all-features
cargo test -p batched-merkle-tree-test -- --skip test_simulate_transactions --skip test_e2e
cargo test -p light-concurrent-merkle-tree
cargo test -p light-ctoken-types --features poseidon
cargo test -p light-ctoken-interface --features poseidon
cargo test -p light-compressible --all-features
- name: program-libs-slow
packages: light-bloom-filter light-indexed-merkle-tree batched-merkle-tree-test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- program: token test
sub-tests: '["cargo-test-sbf -p sdk-token-test"]'
- program: sdk-libs
packages: light-sdk-macros light-sdk light-program-test light-client light-compressed-token-types light-compressed-token-sdk
packages: light-sdk-macros light-sdk light-program-test light-client light-compressed-token-types light-ctoken-sdk
test_cmd: |
cargo test -p light-sdk-macros
cargo test -p light-sdk-macros --all-features
Expand All @@ -64,7 +64,7 @@ jobs:
cargo test -p light-client
cargo test -p light-sparse-merkle-tree
cargo test -p light-compressed-token-types
cargo test -p light-compressed-token-sdk
cargo test -p light-ctoken-sdk
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ light-protocol/
│ ├── compressed-account/ # Compressed account types and utilities
│ ├── compressible/ # Configuration for compressible token accounts
│ ├── concurrent-merkle-tree/ # Concurrent Merkle tree operations
│ ├── ctoken-types/ # Compressed token types and interfaces
│ ├── ctoken-interface/ # Compressed token types and interfaces
│ ├── hash-set/ # Hash set implementation for Solana programs
│ ├── hasher/ # Poseidon hash implementation
│ ├── heap/ # Heap data structure for Solana programs
Expand All @@ -41,7 +41,7 @@ light-protocol/
│ ├── client/ # RPC client for querying compressed accounts
│ ├── sdk/ # Core SDK for Rust/Anchor programs
│ ├── sdk-pinocchio/ # Pinocchio-specific SDK implementation
│ ├── compressed-token-sdk/ # Compressed token client utilities
│ ├── ctoken-sdk/ # Compressed token client utilities
│ └── program-test/ # Fast local test environment (LiteSVM)
├── prover/ # ZK proof generation
│ ├── server/ # Go-based prover server and circuit implementation (Gnark)
Expand Down
120 changes: 60 additions & 60 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
"program-libs/batched-merkle-tree",
"program-libs/bloom-filter",
"program-libs/compressible",
"program-libs/ctoken-types",
"program-libs/ctoken-interface",
"program-libs/hasher",
"program-libs/verifier",
"program-libs/merkle-tree-metadata",
Expand All @@ -23,7 +23,7 @@ members = [
"programs/registry",
"anchor-programs/system",
"sdk-libs/client",
"sdk-libs/compressed-token-sdk",
"sdk-libs/ctoken-sdk",
"sdk-libs/event",
"sdk-libs/token-client",
"sdk-libs/macros",
Expand Down Expand Up @@ -188,7 +188,7 @@ light-sdk-types = { path = "sdk-libs/sdk-types", version = "0.16.0", default-fea
light-compressed-account = { path = "program-libs/compressed-account", version = "0.6.2", default-features = false }
light-compressible = { path = "program-libs/compressible", version = "0.1.0" }
light-compressible-client = { path = "sdk-libs/compressible-client", version = "0.13.1" }
light-ctoken-types = { path = "program-libs/ctoken-types", version = "0.1.0" }
light-ctoken-interface = { path = "program-libs/ctoken-interface", version = "0.1.0" }
light-account-checks = { path = "program-libs/account-checks", version = "0.5.1", default-features = false }
light-verifier = { path = "program-libs/verifier", version = "5.0.0" }
light-zero-copy = { path = "program-libs/zero-copy", version = "0.5.0", default-features = false }
Expand All @@ -202,7 +202,7 @@ light-compressed-token = { path = "programs/compressed-token/program", version =
"cpi",
] }
light-compressed-token-types = { path = "sdk-libs/compressed-token-types", version = "0.1.0" }
light-compressed-token-sdk = { path = "sdk-libs/compressed-token-sdk", version = "0.1.0" }
light-ctoken-sdk = { path = "sdk-libs/ctoken-sdk", version = "0.1.0" }
light-token-client = { path = "sdk-libs/token-client", version = "0.1.0" }
light-system-program-anchor = { path = "anchor-programs/system", version = "2.0.0", features = [
"cpi",
Expand Down
4 changes: 2 additions & 2 deletions DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ Document all error codes that can be returned:
- **Description** - What the error indicates
- **Common causes** - Typical scenarios that trigger this error
- **Resolution** - How to fix or avoid the error
- **Location** - Where error enum is defined (e.g., `anchor_compressed_token::ErrorCode`, `light_ctoken_types::CTokenError`)
- **Location** - Where error enum is defined (e.g., `anchor_compressed_token::ErrorCode`, `light_ctoken_interface::CTokenError`)

**Common error crate locations in Light Protocol:**
- `anchor_compressed_token::ErrorCode` - Compressed token program errors
- `light_ctoken_types::CTokenError` - CToken type errors (18001-18037 range)
- `light_ctoken_interface::CTokenError` - CToken type errors (18001-18037 range)
- `light_compressible::CompressibleError` - Compressible account errors (19001-19002 range)
- `light_account_checks::AccountError` - Account validation errors (12006-12021 range)
- `light_hasher::HasherError` - Hasher operation errors
Expand Down
Loading
Loading