Commit a6f5dba
authored
chore: bump versions to v0.18 v2 trees are default (#32)
* chore: bump versions to v0.18
* fix: pin blake3 to 1.8.2 to avoid edition2024 requirement
* chore: update light-compressible to v0.3.1
* refactor: use pack_output_tree_index for tree selection
* refactor: use selectStateTreeInfo for tree selection in TS tests
Update TypeScript tests to use the new tree selection pattern:
- Replace defaultTestStateTreeAccounts().merkleTree with selectStateTreeInfo()
- Use stateTreeInfo.queue for output state tree index
- Add TreeInfo type to function signatures
* fix: rename light_ctoken_sdk to light_token in simple-claim
* fix: update simple-claim for light-token v0.3 API changes
- Enable v1 feature for backward compatible API
- Fix module paths (v1 contents are re-exported directly)
- Rename CTokenSdkError to TokenSdkError
- Add restricted param to derive_spl_interface_pda
- Use light_token::instruction::id() for program ID
* fix: update simple-claim tests for light-token v0.3 API
* fix: set proveByIndex to true for V2 mode in TypeScript tests
In V2 mode, index-based proving is required. Changed all TypeScript tests
to use proveByIndex: true for operations that read existing accounts.
* fix: use git rev for light-hasher in zk-id to match light-merkle-tree-reference
Both dependencies now use the same git revision to avoid trait bound conflicts.
* fix: use released crates for light-hasher and light-merkle-tree-reference in zk-id
Changed from git dependencies to crates.io versions:
- light-hasher: 5.0.0
- light-merkle-tree-reference: 4.0.01 parent c2fada3 commit a6f5dba
File tree
78 files changed
+9757
-7010
lines changed- account-comparison
- programs/account-comparison
- src
- airdrop-implementations/simple-claim
- program
- src
- tests
- basic-operations
- anchor
- burn
- programs/burn
- src
- tests
- close
- programs/close
- src
- tests
- create-nullifier
- programs/create-nullifier
- src
- tests
- create
- programs/create
- src
- tests
- reinit
- programs/reinit
- src
- tests
- update
- programs/update
- src
- tests
- native
- programs
- burn
- src
- tests
- close
- src
- tests
- create
- src
- tests
- reinit
- src
- tests
- update
- src
- tests
- counter
- anchor
- programs/counter
- src
- tests
- native
- src
- tests
- pinocchio
- src
- tests
- create-and-update
- programs/create-and-update
- src
- read-only
- src
- zk
- nullifier
- programs/nullifier
- src
- zk-id
- programs/zk-id
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
78 files changed
+9757
-7010
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments