Skip to content

Conversation

@ananas-block
Copy link
Contributor

  • Update light-sdk and light-sdk-types to use v2 feature flag
  • Change imports from v1 to v2 modules (address, cpi)
  • Use ADDRESS_TREE_V2 constant from light_sdk_types
  • Update address params to use into_new_address_params_assigned_packed
  • Migrate TypeScript tests to use deriveAddressV2, deriveAddressSeedV2
  • Use batchAddressTree and feature flags in TS tests
  • Fix pinocchio CpiAccounts API (try_new_with_config -> new_with_config)

Programs migrated:

  • basic-operations/native: create, update, close, burn, reinit
  • basic-operations/anchor: create, update, close, burn, reinit
  • counter: native, anchor, pinocchio
  • account-comparison, create-and-update, read-only

- Update light-sdk and light-sdk-types to use v2 feature flag
- Change imports from v1 to v2 modules (address, cpi)
- Use ADDRESS_TREE_V2 constant from light_sdk_types
- Update address params to use into_new_address_params_assigned_packed
- Migrate TypeScript tests to use deriveAddressV2, deriveAddressSeedV2
- Use batchAddressTree and feature flags in TS tests
- Fix pinocchio CpiAccounts API (try_new_with_config -> new_with_config)

Programs migrated:
- basic-operations/native: create, update, close, burn, reinit
- basic-operations/anchor: create, update, close, burn, reinit
- counter: native, anchor, pinocchio
- account-comparison, create-and-update, read-only
@coderabbitai
Copy link

coderabbitai bot commented Jan 8, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@tilo-14 tilo-14 merged commit 54f0e7f into main Jan 9, 2026
18 checks passed
@tilo-14 tilo-14 deleted the jorrit/chore-use-v2-trees branch January 9, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants