Skip to content

format: add activation identifier to correlate invocations with returns#245

Open
gnidan wants to merge 1 commit into
mainfrom
architect-name-activation
Open

format: add activation identifier to correlate invocations with returns#245
gnidan wants to merge 1 commit into
mainfrom
architect-name-activation

Conversation

@gnidan

@gnidan gnidan commented Jul 4, 2026

Copy link
Copy Markdown
Member

An invocation and the return (or revert) that ends the same activation can now carry a matching activation string. A debugger uses it to pair a call with its return directly — independent of trace order, and without relying on invoke/return being strictly nested. Distinct activations carry distinct values, unique within a program.

  • Schema — add an optional activation string to the invoke, return, and revert contexts; add a worked example pairing an invoke with its return by a shared value.
  • TS types — add activation to the invoke/return/revert types and validate it in their guards.

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://ethdebug.github.io/format/pr-preview/pr-245/

Built to branch gh-pages at 2026-07-04 19:26 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

An invocation and the return (or revert) that ends the same activation
can now carry a matching `activation` string. A debugger uses it to pair
a call with its return directly — independent of trace order, without
relying on strictly nested invoke/return ordering. Distinct activations
carry distinct values, unique within a program.

- Schema: add an optional `activation` string to the invoke, return, and
  revert contexts; add a worked example pairing an invoke with its return
  by a shared value.
- TS types: add `activation` to the invoke/return/revert types and
  validate it in their guards.
@gnidan gnidan force-pushed the architect-name-activation branch from 7bead51 to e9cb163 Compare July 4, 2026 19:21
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