Skip to content

Commit 44c9c9c

Browse files
tilo-14tilo-14
andauthored
Bump Light Protocol crates to 0.23.0 (#33)
* Bump Light Protocol crates to 0.23.0 Light SDK ecosystem: - light-sdk 0.17.1–0.19.0 → 0.23.0 - light-client 0.17.2–0.19.0 → 0.23.0 - light-program-test 0.17.1–0.19.0 → 0.23.0 - light-compressed-account 0.7.0–0.8.0 → 0.11.0 - light-sdk-pinocchio 0.18.0 → 0.23.0 - light-sdk-types 0.17.1 → 0.23.0 - light-token 0.3 → 0.23.0 Breaking changes addressed: - Remove anchor-discriminator feature (dropped in 0.23.0) - Add PackedAddressTreeInfoExt trait import for get_tree_pubkey() - Migrate simple-claim to light-compressed-token-sdk for v1 API - Remove v2/new-unique feature flags (now defaults) Utility crates: - tokio → 1.49.0 - serial_test 3.2.0 → 3.4.0 - solana-pubkey 2.2–2.3 → 2.4 - Keep blake3 at =1.8.2 (1.8.3 incompatible with SBF toolchain) Scope: all examples except airdrop-implementations/distributor Verified: cargo build-sbf passes for all 14 projects * Fix zk/nullifier and zk/zk-id idl-build by propagating light-sdk/idl-build feature --------- Co-authored-by: tilo-14 <tilo@luminouslabs.com>
1 parent 7c8293a commit 44c9c9c

55 files changed

Lines changed: 7769 additions & 4498 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

account-comparison/Cargo.lock

Lines changed: 483 additions & 273 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

account-comparison/programs/account-comparison/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ idl-build = ["anchor-lang/idl-build"]
2020
[dependencies]
2121
anchor-lang = "0.31.1"
2222
light-hasher = "5.0.0"
23-
light-sdk = { version = "0.18.0", features = ["anchor", "anchor-discriminator", "cpi-context"] }
23+
light-sdk = { version = "0.23.0", features = ["anchor", "cpi-context"] }
2424

2525
[dev-dependencies]
26-
light-client = "0.18.0"
26+
light-client = "0.23.0"
2727
litesvm = "0.7.1"
2828
solana-keypair = "2.2"
2929
solana-message = "2.2"
30-
solana-pubkey = { version = "2.2", features = ["curve25519", "sha2"] }
30+
solana-pubkey = { version = "2.4", features = ["curve25519", "sha2"] }
3131
solana-signer = "2.2"
3232
solana-transaction = "2.2"
33-
light-program-test = "0.18.0"
34-
tokio = "1.43.0"
33+
light-program-test = "0.23.0"
34+
tokio = "1.49.0"
3535
solana-sdk = "2.2"
3636
blake3 = "=1.8.2"
3737

account-comparison/programs/account-comparison/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use light_sdk::{
77
cpi::{v2::CpiAccounts, CpiSigner},
88
derive_light_cpi_signer,
99
instruction::{account_meta::CompressedAccountMeta, PackedAddressTreeInfo, ValidityProof},
10-
LightDiscriminator, LightHasher,
10+
LightDiscriminator, LightHasher, PackedAddressTreeInfoExt,
1111
};
1212
use light_sdk::constants::ADDRESS_TREE_V2;
1313

0 commit comments

Comments
 (0)