You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add function call tracing documentation
Add invoke/return/revert context documentation across concept,
reference, and spec pages:
- concepts/programs.mdx: new "Function call contexts" section
explaining the three context types with a SchemaExample
- tracing.mdx: walkthrough of tracing through an internal function
call (Adder contract), plus external call and revert examples
- Spec pages: added intro prose to function.mdx, return.mdx,
revert.mdx
* Make function call tracing example interactive
Replace the static BUG code block with an interactive TraceExample
component that lets readers compile and step through the Adder
contract, seeing invoke/return contexts at function boundaries.
Static SchemaExample blocks are kept for the narrative walkthrough
and for external call/revert examples (which BUG can't demonstrate).
* Fix BUG source indentation in tracing examples
Add 2-space indentation inside block bodies (storage, create, code,
if) to match the canonical style used in .bug example files.
* Revert BUG indentation to match prettier formatting
Prettier strips indentation inside template literal strings in MDX
JSX props. Revert to the unindented style that prettier enforces.
0 commit comments