Skip to content

chore: reorganize the files#63

Merged
snawaz merged 1 commit intomainfrom
snawaz/reorganization
Apr 14, 2026
Merged

chore: reorganize the files#63
snawaz merged 1 commit intomainfrom
snawaz/reorganization

Conversation

@snawaz
Copy link
Copy Markdown
Contributor

@snawaz snawaz commented Apr 11, 2026

  • No breaking changes: no changes in the definition of any functions or types other than imports/paths adjustments.
    • One exception in initialize_global_vault.rs : the change made to avoid calling another processor.
  • One processor per file.
    • Helpers used by a single processor are within the same file.
    • Helpers used by multiple processors are moved to internal/.
  • filename of the processor is same as as function name, without the process_ prefix.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 11, 2026

Warning

Rate limit exceeded

@snawaz has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 24 minutes and 4 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 24 minutes and 4 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 36c5fbd7-efa2-4e20-83bc-df02074da835

📥 Commits

Reviewing files that changed from the base of the PR and between e04e0fe and bc827f9.

📒 Files selected for processing (30)
  • e-token/src/processor/close_lamports_pda_intent.rs
  • e-token/src/processor/close_shuttle_ata_intent.rs
  • e-token/src/processor/deposit_and_delegate_shuttle_ephemeral_ata_with_merge.rs
  • e-token/src/processor/deposit_and_delegate_shuttle_ephemeral_ata_with_merge_and_private_transfer.rs
  • e-token/src/processor/deposit_and_queue_transfer.rs
  • e-token/src/processor/deposit_spl_tokens.rs
  • e-token/src/processor/execute_ready_queued_transfer.rs
  • e-token/src/processor/initialize_ephemeral_ata.rs
  • e-token/src/processor/initialize_global_vault.rs
  • e-token/src/processor/initialize_rent_pda.rs
  • e-token/src/processor/initialize_shuttle_ephemeral_ata.rs
  • e-token/src/processor/internal/ephemeral_ata.rs
  • e-token/src/processor/internal/lamports_pda.rs
  • e-token/src/processor/internal/mod.rs
  • e-token/src/processor/internal/shuttle_delegation.rs
  • e-token/src/processor/internal/token_vault.rs
  • e-token/src/processor/internal/transfer_queue_refill.rs
  • e-token/src/processor/lamports_pda.rs
  • e-token/src/processor/mark_transfer_queue_refill_pending.rs
  • e-token/src/processor/mod.rs
  • e-token/src/processor/pending_transfer_queue_refill.rs
  • e-token/src/processor/shuttle_close_schedule.rs
  • e-token/src/processor/sponsored_lamports_transfer.rs
  • e-token/src/processor/transfer_lamports_pda.rs
  • e-token/src/processor/transfer_queue_refill.rs
  • e-token/src/processor/transfer_queue_tick.rs
  • e-token/src/processor/undelegate_and_close_shuttle_to_owner.rs
  • e-token/src/processor/undelegate_lamports_pda.rs
  • e-token/src/processor/withdraw_spl_tokens.rs
  • e-token/src/processor/withdraw_through_delegated_shuttle_with_merge.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch snawaz/reorganization

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.

Copy link
Copy Markdown
Contributor

@Dodecahedr0x Dodecahedr0x left a comment

Choose a reason for hiding this comment

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

LGTM (but skimmed through the PR based on the assumption that it's mostly refactor, except initialize_global_vault)

@snawaz snawaz force-pushed the snawaz/reorganization branch from 3d90837 to c9a0047 Compare April 14, 2026 16:38
Base automatically changed from snawaz/audit to main April 14, 2026 17:12
@snawaz snawaz force-pushed the snawaz/reorganization branch from c9a0047 to bc827f9 Compare April 14, 2026 17:14
@snawaz snawaz merged commit 1cfdeda into main Apr 14, 2026
3 checks passed
@snawaz snawaz deleted the snawaz/reorganization branch April 14, 2026 17:18
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