Skip to content

Add --dry-run to process-redeemer command - #757

Merged
evgeny-stakewise merged 2 commits into
v5-releasefrom
add-dry-run-process-redeemer
Jun 11, 2026
Merged

Add --dry-run to process-redeemer command#757
evgeny-stakewise merged 2 commits into
v5-releasefrom
add-dry-run-process-redeemer

Conversation

@evgeny-stakewise

@evgeny-stakewise evgeny-stakewise commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a --dry-run flag (env DRY_RUN) to the process-redeemer command.

When enabled:

  • Every redeemOsTokenPositions call is simulated via .call() instead of being submitted as a transaction.
  • On-chain state is left untouched between positions (no withdrawable-assets decrement, no endpoint-sync wait).
  • processExitQueue is skipped entirely.

Notes

  • Pure simulation per position against current chain state.
  • Failures are logged with the exception instance (no traceback noise).

@evgeny-stakewise
evgeny-stakewise merged commit e6a2066 into v5-release Jun 11, 2026
7 checks passed
@evgeny-stakewise
evgeny-stakewise deleted the add-dry-run-process-redeemer branch June 11, 2026 14:41
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.

2 participants