Skip to content

fix(tests): update commit_finalize tests with delegated_account_owner#160

Open
ev0r0x wants to merge 1 commit intomagicblock-labs:mainfrom
ev0r0x:ev0r0x-patch-3
Open

fix(tests): update commit_finalize tests with delegated_account_owner#160
ev0r0x wants to merge 1 commit intomagicblock-labs:mainfrom
ev0r0x:ev0r0x-patch-3

Conversation

@ev0r0x
Copy link
Copy Markdown

@ev0r0x ev0r0x commented Mar 21, 2026

Updated commit_finalize tests to include the new delegated_account_owner parameter. All instruction builders in tests now pass the account owner, reflecting the addition of the program config PDA in account metadata. This ensures tests remain compatible with the updated API and correctly validate commit_finalize behavior.

Updated `commit_finalize` tests to include the new `delegated_account_owner parameter`. All instruction builders in tests now pass the account owner, reflecting the addition of the program config PDA in account metadata. This ensures tests remain compatible with the updated API and correctly validate `commit_finalize` behavior.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 21, 2026

Warning

Rate limit exceeded

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

⌛ 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: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: b9151c86-df2f-4a0a-bf33-e592c8dcadc0

📥 Commits

Reviewing files that changed from the base of the PR and between d2fe487 and 1711228.

📒 Files selected for processing (1)
  • tests/test_commit_finalize.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Tip

You can validate your CodeRabbit configuration file in your editor.

If your editor has YAML language server, you can enable auto-completion and validation by adding # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json at the top of your CodeRabbit configuration file.

@ev0r0x ev0r0x changed the title test(api): update commit_finalize tests with delegated_account_owner fix(tests): update commit_finalize tests with delegated_account_owner Mar 21, 2026
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.

1 participant