Skip to content

test(committor): cover mixed legacy and dlp v2 settlement - #287

Merged
snawaz merged 2 commits into
test/dlp-v2-buffered-settlementfrom
test/dlp-mixed-settlement
Nov 2, 2026
Merged

snawaz merged 2 commits into
test/dlp-v2-buffered-settlementfrom
test/dlp-mixed-settlement

Conversation

@snawaz

@snawaz snawaz commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Adds one legacy cell and one v2 cell to the same commit intent, then undelegates both in a second intent. It checks exact data, commit IDs, ownership return, and the DLP instruction versions used on the base chain.

Closes #283

Reviewer notes

Built on #285. Uses the existing legacy fixture and the v2 setup from #284. Live qualification remains pending the Linux run with validator #1860.

@snawaz
snawaz added this pull request to stack #286 October 29, 2026 08:28
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between b0bff99 and f6cf8a7.

Files selected for processing: 4
  • README.md
  • redshift/src/scenarios/committor/dlp_mixed_settlement.rs
  • redshift/src/scenarios/committor/mod.rs
  • redshift/src/scenarios/mod.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Oct 29, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
@snawaz
snawaz marked this pull request as ready for review October 29, 2026 08:34
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Oct 29, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Oct 31, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
@snawaz
snawaz force-pushed the test/dlp-mixed-settlement branch from 6315f0a to 279e995 Compare November 2, 2026 13:15
Delegate one legacy cell and one v2 cell under the same owner program and
schedule them in one intent. Repeat with undelegation after another write.

Require successful receipts containing both accounts, exact base-chain
snapshots, commit-ID advancement, and ownership return. Inspect the landed
transactions for both legacy and v2 CommitFinalize instructions and the
v2 Undelegate instruction. Verify the v2 delegation state is closed.

Reuse the existing legacy cell builder and the v2 fixture from the parent
PRs. Document the two additional scenario selections.

Closes #283
@snawaz
snawaz force-pushed the test/dlp-mixed-settlement branch from 279e995 to f6cf8a7 Compare November 2, 2026 13:23
@snawaz
snawaz merged commit 5c15edb into main Nov 2, 2026
2 checks passed
@snawaz
snawaz deleted the test/dlp-mixed-settlement branch November 2, 2026 13:34
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 2, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 2, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 2, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
bmuddha pushed a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 3, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 3, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 5, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 5, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
snawaz added a commit to magicblock-labs/magicblock-validator that referenced this pull request Nov 5, 2026
Pin RedSuite to the top of its three-PR v2 coverage stack: lifecycle,
buffered settlement and cleanup, and mixed legacy/v2 intents.

Read the DLP revision from the validator dependency and require RedSuite
to use the same interface revision. Build that program with the SBF
fixtures, include its revision in the artifact cache key, and load the
result through REDSUITE_DLP_SO instead of the cloned mainnet program.

This enables real v2 qualification on Linux CI. The scenarios deliberately
require normal v2 discovery and activation; they do not seed legacy PDAs
to bypass the remaining Chainlink integration gap.

RedSuite stack: magicblock-labs/redsuite#287
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.

Mixed legacy and DLP v2 settlement coverage

1 participant