Skip to content

Added replay-based support for tracing dry-run - #27299

Closed
awelc wants to merge 1 commit into
mainfrom
aw/replay-dry-run
Closed

Added replay-based support for tracing dry-run#27299
awelc wants to merge 1 commit into
mainfrom
aw/replay-dry-run

Conversation

@awelc

@awelc awelc commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

What the subject says. Enabled via sui client ptb --dry-run --trace. This implementation has two parts:

  • on the sui client side, transaction data is constructed the same way it would be for a "regular" dry-run, but instead of being sent to the full node it is passed on to the replay tool for local execution
  • on the replay tool side;
    • owned inputs and gas coins are fetched at the versions recorded in the transaction data, while shared objects, packages, and dynamic loads are fetched at their newest versions
    • an artificial gas coin is injected if the transaction has no gas payment (in a manner similar to how it's done at a full node for a "regular" dry-run)
    • transaction is executed locally producing the same artifacts as a "regular" replayed transaction (but no effects comparison as there are no effects)

@awelc
awelc requested review from amnn and dariorussi and removed request for dariorussi July 15, 2026 17:04
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Jul 15, 2026 5:04pm
sui-kiosk Ignored Ignored Jul 15, 2026 5:04pm

Request Review

@awelc
awelc temporarily deployed to sui-typescript-aws-kms-test-env July 15, 2026 17:04 — with GitHub Actions Inactive
@awelc awelc self-assigned this Jul 15, 2026
@awelc awelc closed this Jul 27, 2026
@awelc

awelc commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Subsumed by #27592

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