Skip to content

test(committor): cover buffered dlp v2 settlement - #285

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

snawaz merged 3 commits into
mainfrom
test/dlp-v2-buffered-settlement

Conversation

@snawaz

@snawaz snawaz commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Adds buffered v2 commit and undelegation coverage using 8 KiB cells. It checks exact settled data and ownership, confirms buffer writes and settlement in successful base-chain transactions, and waits for buffer closure.

Closes #282

Reviewer notes

Built on #284. Live qualification remains pending the Linux run with validator #1860.

@snawaz
snawaz added this pull request to stack #286 October 29, 2026 08:26
@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 51 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 ee54de9 and b0bff99.

Files selected for processing: 4
  • redshift/src/scenarios/committor/dlp_v2_buffered_settlement.rs
  • redshift/src/scenarios/committor/mod.rs
  • redshift/src/scenarios/committor/v2.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
snawaz marked this pull request as ready for review October 29, 2026 08:34
@snawaz
snawaz force-pushed the test/dlp-v2-buffered-settlement branch from e702334 to 317047c Compare November 2, 2026 13:15
Base automatically changed from test/dlp-v2-lifecycle to main November 2, 2026 13:23
Exercise commit and commit-with-undelegation for an 8 KiB v2 cell whose
payload is fully rewritten. Check the exact settled snapshot and owner,
then inspect successful base-chain transactions to require v2 buffer
writes, CommitFinalizeFromBuffer, and CloseStateBuffer.

Wait for buffer cleanup through the existing bounded query mechanism.
Check that the derived StateBuffer account is gone, and preserve the
commit-ID or delegation-state checks for the corresponding final state.

Reuse the lifecycle fixture and share instruction inspection with the
following mixed-version scenario.

Closes #282
@snawaz
snawaz force-pushed the test/dlp-v2-buffered-settlement branch from 317047c to b0bff99 Compare November 2, 2026 13:23
@snawaz
snawaz merged commit b6f9fcc into main Nov 2, 2026
2 checks passed
@snawaz
snawaz deleted the test/dlp-v2-buffered-settlement branch November 2, 2026 13:34
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.

DLP v2 buffered settlement coverage

1 participant