-
Notifications
You must be signed in to change notification settings - Fork 0
TVM tooling page #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
TVM tooling page #509
Conversation
/review |
tvm/tools.mdx
Outdated
### More tools | ||
|
||
- [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer | ||
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode | |
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bitcode and instructions; check how your code compiles to TVM code |
tvm/tools.mdx
Outdated
|
||
- [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer | ||
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode | ||
- [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly | |
- [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bitcode to Fift assembly |
tvm/tools.mdx
Outdated
- [TVM exit codes](/tvm/exit-codes) | ||
- [TVM instructions](/tvm/instructions) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tvm/tools.mdx
Outdated
|
||
This page lists essential tools for inspecting TVM (TON Virtual Machine) execution, transactions, and opcodes. | ||
|
||
### Retracer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add retracer
to the dictionary
Thanks for the update to tvm/tools.mdx. A couple of medium issues and several low-severity polish edits need attention to align with the style guide. Findings (8)Medium (2)Click to expand[MEDIUM] Acronym introduced before expansion in H2Location: mintlify-ton-docs/tvm/tools.mdx Line 8 in 3a5e499
Description: Suggestion: -## TVM debugging and tracing tools
+## TON Virtual Machine (TVM) debugging and tracing tools [MEDIUM] Throat-clearing opener and reversed acronymLocation: mintlify-ton-docs/tvm/tools.mdx Line 10 in 3a5e499
Description: Suggestion: -This page lists essential tools for inspecting TVM (TON Virtual Machine) execution, transactions, and opcodes.
+Inspect TON Virtual Machine (TVM) execution, transactions, and opcodes with these tools. Low (6)Click to expand[LOW] Inconsistent list punctuation in “Retracer” sectionLocation: mintlify-ton-docs/tvm/tools.mdx Lines 15 to 19 in 3a5e499
Description: Suggestion: - - Purpose: Inspect the action list (C5), the TVM stack and executed instructions, basic transaction details (sender, contract, amounts, time, logical time (LT), fees, balances), and executor logs
+ - Purpose: Inspect the action list (C5), the TVM stack and executed instructions, basic transaction details (sender, contract, amounts, time, logical time (LT), fees, balances), and executor logs.
@@
- - Inspect C5 to see full details of performed actions (for example, message mode or balance reservation)
+ - Inspect C5 to see full details of performed actions (for example, message mode or balance reservation).
- - Follow the instruction trace and stack changes to pinpoint errors
+ - Follow the instruction trace and stack changes to pinpoint errors.
- - Check executor logs for deeper debugging or issue reports
+ - Check executor logs for deeper debugging or issue reports. [LOW] Inconsistent list punctuation in “TxTracer” sectionLocation: mintlify-ton-docs/tvm/tools.mdx Lines 28 to 34 in 3a5e499
Description: Suggestion: - - Purpose: Combines Retracer‑style transaction tracing with an Assembly Playground, a Code Explorer (FunC/Tolk → TVM), the TVM Specification (opcodes, stack effects, control flow, disassembly), and Sandbox visualization
+ - Purpose: Combines Retracer‑style transaction tracing with an Assembly Playground, a Code Explorer (FunC/Tolk → TVM), the TVM Specification (opcodes, stack effects, control flow, disassembly), and Sandbox visualization.
@@
- - Look up TVM instructions and semantics while reading disassembly
+ - Look up TVM instructions and semantics while reading disassembly.
- - Investigate invalid opcode and type errors by checking instruction constraints
+ - Investigate invalid opcode and type errors by checking instruction constraints.
- - Trace transactions end‑to‑end, similar to Retracer
+ - Trace transactions end‑to‑end, similar to Retracer.
- - Experiment with assembly, compile code, and inspect VM logs from local tests
+ - Experiment with assembly, compile code, and inspect VM logs from local tests. [LOW] Inconsistent list punctuation in “More tools” sectionLocation: mintlify-ton-docs/tvm/tools.mdx Lines 38 to 40 in 3a5e499
Description: Suggestion: - - [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer
+ - [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer.
- - [TVM Explorer](https://[REDACTED]/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode
+ - [TVM Explorer](https://[REDACTED]/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode.
- - [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly
+ - [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly. [LOW] Internal links should be relativeLocation: mintlify-ton-docs/tvm/tools.mdx Lines 44 to 46 in 3a5e499
Description: Suggestion: - - [TVM overview](/tvm/overview)
- - [TVM exit codes](/tvm/exit-codes)
- - [TVM instructions](/tvm/instructions)
+ - [TVM overview](./overview)
+ - [TVM exit codes](./exit-codes)
+ - [TVM instructions](./instructions) [LOW] Ampersand in title; prefer “and” for clarity/searchLocation: mintlify-ton-docs/tvm/tools.mdx Line 2 in 3a5e499
Description: Suggestion: -title: "Debugging & tools"
+title: "Debugging and tools" [LOW] Unexpanded acronym “VM” in list itemLocation: mintlify-ton-docs/tvm/tools.mdx Line 34 in 3a5e499
Description: Suggestion: - - Experiment with assembly, compile code, and inspect VM logs from local tests
+ - Experiment with assembly, compile code, and inspect TVM logs from local tests |
To fix the formatting issues:
npx remark -o --quiet --silently-ignore tvm/tools.mdx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- There should be separate pages for use of these tools, not mere mentions. These tools are not particularly user-friendly due to how technical the topic is. "Typical use cases" are the kind of topics that should be covered in these articles.
- TxTracer should be mentioned above Retracer, because it's a much more modern and improved version of it.
- Source code of tools (i.e. "source code of Retracer") must not be separate from the section describing the tool (i.e. "Retracer" section above)
- The overview page should give similar exposure to different tools, with most useful of them juse listed first.
- "Related docs" section should be removed. Obviously articles in the same group are related. Otherwise they wouldn't be in the same group.
To fix the formatting issues:
npx remark -o --quiet --silently-ignore tvm/tools/index.mdx tvm/tools/retracer.mdx tvm/tools/ton-decompiler.mdx tvm/tools/tvm-explorer.mdx tvm/tools/tx-tracer.mdx |
To fix the formatting issues:
npx remark -o --silent --silently-ignore tvm/tools/overview.mdx tvm/tools/retracer.mdx tvm/tools/ton-decompiler.mdx tvm/tools/tvm-explorer.mdx tvm/tools/tx-tracer.mdx |
@anton-trunov @verytactical, please review the new variant. |
/* See: https://mintlify.com/docs/settings/custom-scripts#custom-javascript */ | ||
|
||
/* TODO: try to add a heading outline on mobile similar to one Astro provides */ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not add TODOs in code. Create GH issues instead
{ | ||
"group": "Tools", | ||
"pages": [ | ||
"tvm/tools/index", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link
sidebarTitle: "TxTracer" | ||
--- | ||
|
||
TxTracer is a modern TVM transaction tracing tool that combines multiple debugging and analysis features in one interface. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole article doesn't even link to TxTracer. How is user supposed to find it?
|
||
## Features | ||
|
||
- **Retracer-style tracing** — End-to-end transaction tracing similar to Retracer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use AI to produce articles.
Closes #343
Added brief descriptions for related links