Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 1IxI1/tvm-viewer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: ton-blockchain/tvm-web-viewer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Jul 19, 2024

  1. Copy the full SHA
    9549933 View commit details

Commits on Jul 29, 2024

  1. Copy the full SHA
    b8a1f5a View commit details

Commits on Jul 30, 2024

  1. Update emulation routine. Add emulator version

    Use 1 executor instead of 2 due to bug fix. Add version in the bottom
    1IxI1 committed Jul 30, 2024
    Copy the full SHA
    8334a66 View commit details
  2. Docs link. Cleanup

    1IxI1 committed Jul 30, 2024
    Copy the full SHA
    af71847 View commit details
  3. Add gas for steps

    1IxI1 committed Jul 30, 2024
    Copy the full SHA
    e7394da View commit details

Commits on Jul 31, 2024

  1. Show failed step. Add test

    1IxI1 committed Jul 31, 2024
    Copy the full SHA
    39ea302 View commit details

Commits on Aug 1, 2024

  1. Update README.md, fix testnet URL

    Fix testnet tvm-web-viewer URL
    studyzy authored Aug 1, 2024
    Copy the full SHA
    56177a9 View commit details

Commits on Aug 3, 2024

  1. Copy the full SHA
    25cc91c View commit details
  2. Copy the full SHA
    5986024 View commit details
  3. Update image

    1IxI1 authored Aug 3, 2024
    Copy the full SHA
    267576a View commit details
  4. Merge pull request #1 from studyzy/patch-1

    Update README.md, fix testnet URL
    1IxI1 authored Aug 3, 2024
    Copy the full SHA
    ad18ae3 View commit details

Commits on Aug 5, 2024

  1. Rebranding

    1IxI1 committed Aug 5, 2024
    Copy the full SHA
    a177770 View commit details
  2. Rebranding in image

    1IxI1 authored Aug 5, 2024
    Copy the full SHA
    b61fea0 View commit details
  3. Rebranding domain

    1IxI1 committed Aug 5, 2024
    Copy the full SHA
    41af0b6 View commit details

Commits on Aug 6, 2024

  1. Bugfix: zeroes on stack

    1IxI1 committed Aug 6, 2024
    Copy the full SHA
    626901d View commit details

Commits on Aug 14, 2024

  1. Copy the full SHA
    ab9840c View commit details

Commits on Oct 28, 2024

  1. Dependencies

    1IxI1 committed Oct 28, 2024
    Copy the full SHA
    514436c View commit details
  2. Base64 hash tx recognition

    1IxI1 committed Oct 28, 2024
    Copy the full SHA
    d35a215 View commit details
  3. Merge pull request #3 from ton-blockchain/b64

    Add plain base64 tx hash
    1IxI1 authored Oct 28, 2024
    Copy the full SHA
    29681ee View commit details

Commits on Dec 19, 2024

  1. Fix and enhance stack parsing

    1IxI1 committed Dec 19, 2024
    Copy the full SHA
    eec45fe View commit details

Commits on Feb 24, 2025

  1. Print full error

    1IxI1 committed Feb 24, 2025
    Copy the full SHA
    0bd9c2f View commit details
Showing with 10,012 additions and 6,375 deletions.
  1. +2 −0 .gitignore
  2. +8 −6 README.md
  3. +2 −2 index.html
  4. +4 −4 package.json
  5. +593 −182 src/App.tsx
  6. +66 −0 src/icons/docs.tsx
  7. +95 −32 src/runner/runner.spec.ts
  8. +106 −67 src/runner/runner.ts
  9. +64 −125 src/runner/stack.ts
  10. +9 −1 src/runner/types.ts
  11. +114 −15 src/runner/utils.ts
  12. +8,949 −5,941 yarn.lock
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -28,3 +28,5 @@ Session.vim
src/runner/executor/
src/runner/tesst.ts
compare.py
.yarn/
.yarnrc.yml
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TVM Viewer (beta)
# TVM Retracer

<img height="400px" src="https://github.com/user-attachments/assets/96151a33-3aad-4f50-bd72-f57b87c6f754"/>
<img width="600px" src="https://github.com/user-attachments/assets/23bbea7a-f2c8-40e3-b185-b1ae3c0f0913"/>

Stack tracer for debugging smart contracts deployed on TON Blockchain.

@@ -10,8 +10,9 @@ Stack tracer for debugging smart contracts deployed on TON Blockchain.
- Execution realism
- Testnet
- Executor logs
- C5 Actions parser
- All explorers support
- Enjoyable UI (I hope)
- All explorers support (almost)
- Local run (just in your browser)
- Lightweight (as much as possible)
- Robust integrity (libs, randseed, prev. txs check)
@@ -27,18 +28,19 @@ In almost any form:
- From tonscan.io
- From tonscan.org
- From explorer.toncoin.org
- From dton.io
- Like `lt:hash` with hash in hex
- Just like `hash` with hash in hex or base64

### Use testnet

By param: \
https://1ixi1.github.io/tvm-viewer?testnet=true
https://retracer.ton.org/?testnet=true

### Make a link to viewer with tx
### Make a link to the retracer with tx

By param: \
https://1ixi1.github.io/tvm-viewer/?tx=4df182d84e9e1bbe76d9cfe35bd023c244c55b03cbd118457769868aa2e85bf4 \
https://retracer.ton.org/?tx=4df182d84e9e1bbe76d9cfe35bd023c244c55b03cbd118457769868aa2e85bf4 \
(any form as described above)

### Find tx link in tonviwer
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>TVM Viewer</title>
<title>TVM Retracer</title>
<link rel="icon" type="image/svg+xml" href="./src/assets/robot.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="TVM Viewer - see how tx was executed in TVM with stack."
content="TVM Retracer - see how tx was executed in TVM with stack."
/>
</head>
<body>
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "tvm-viewer",
"name": "tvm-retracer",
"private": true,
"version": "0.0.2",
"main": "dist/index.js",
"files": [
"dist/**/*"
],
"homepage": "https://1ixi1.github.io/tvm-viewer",
"homepage": "https://retracer.ton.org/",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
@@ -21,9 +21,9 @@
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@orbs-network/ton-access": "^2.3.3",
"@ton/core": "^0.56.3",
"@ton/core": "^0.59.0",
"@ton/crypto": "3.2.0",
"@ton/sandbox": "^0.20.0",
"@ton/sandbox": "0.21.0-beta.1",
"@ton/test-utils": "^0.3.1",
"@ton/ton": "^13.11.0",
"bigint-buffer": "^1.1.5",
Loading