Skip to content

Conversation

@SwenSchaeferjohann
Copy link
Contributor

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 18, 2026

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (5)
  • wip
  • draft
  • temp
  • test
  • experimental

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.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch swen/rename1

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.

Comment on lines +22 to +26
| `token-sdk/src/compressed_token/v2/account2.rs` | `CTokenAccount2` | `LightTokenAccount` or `TokenAccount2` |
| `token-sdk/src/compressed_token/v1/account.rs` | `CTokenAccount` | `LightTokenAccount` or `TokenAccountV1` |
| `token-sdk/src/pack.rs` | `CTokenDataWithVariant<V>` | `LightTokenDataWithVariant<V>` |
| `token-types/src/account_infos/transfer.rs` | `CTokenProgram` (enum variant) | `LightTokenProgram` |
| `compressible-client/src/decompress_atas.rs` | `CTokenAccount2` usage | `LightTokenAccount` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are still compressed tokens left it ctoken as short for compressed token. Thought we would only rename solana account ctokens to light tokens.

### 1.4 Traits
| File | Current | Proposed |
|------|---------|----------|
| `token-sdk/src/compressed_token/ctoken_instruction.rs` | `CTokenInstruction` | `LightTokenInstruction` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here its I didn't rename anything in compressed_token/* on purpose so far.

| File | Current | Proposed |
|------|---------|----------|
| `token-sdk/src/compressed_token/ctoken_instruction.rs` | `CTokenInstruction` | `LightTokenInstruction` |
| `sdk/src/compressible/traits.rs` | `IntoCTokenVariant<V, T>` | `IntoLightTokenVariant<V, T>` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `sdk/src/compressible/traits.rs` | `IntoCTokenVariant<V, T>` | `IntoLightTokenVariant<V, T>` |
| `sdk/src/compression/traits.rs` | `IntoCTokenVariant<V, T>` | `IntoLightTokenVariant<V, T>` |

Comment on lines +37 to +39
| `token-sdk/src/pack.rs:301` | `CompressibleTokenDataWithVariant<V> = CTokenDataWithVariant<V>` | Remove alias, use consistent name |
| `token-sdk/src/pack.rs:303` | `CTokenData<V> = CTokenDataWithVariant<V>` | `LightTokenData<V>` |
| `token-sdk/src/pack.rs:304` | `PackedCTokenData<V> = PackedTokenDataWithVariant<V>` | `PackedLightTokenData<V>` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `token-sdk/src/pack.rs:301` | `CompressibleTokenDataWithVariant<V> = CTokenDataWithVariant<V>` | Remove alias, use consistent name |
| `token-sdk/src/pack.rs:303` | `CTokenData<V> = CTokenDataWithVariant<V>` | `LightTokenData<V>` |
| `token-sdk/src/pack.rs:304` | `PackedCTokenData<V> = PackedTokenDataWithVariant<V>` | `PackedLightTokenData<V>` |
| `token-sdk/src/pack.rs:301` | `CompressionTokenDataWithVariant<V> = CTokenDataWithVariant<V>` | Remove alias, use consistent name |
| `token-sdk/src/pack.rs:303` | `CTokenData<V> = CTokenDataWithVariant<V>` | `LightTokenData<V>` |
| `token-sdk/src/pack.rs:304` | `PackedCTokenData<V> = PackedTokenDataWithVariant<V>` | `PackedLightTokenData<V>` |

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