Skip to content

Commit

Permalink
chore: renaming back to .tok.map
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Nov 23, 2023
1 parent 0790f7c commit 9ed997e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/html/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/algokit_utils/_debug_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
TRACES_FILE_EXT = ".avm.trace"
DEBUG_TRACES_DIR = "debug_traces"
TEAL_FILE_EXT = ".teal"
TEAL_SOURCEMAP_EXT = ".teal.map"
TEAL_SOURCEMAP_EXT = ".tok.map"


@dataclass
Expand Down
4 changes: 2 additions & 2 deletions tests/test_debug_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def test_build_teal_sourcemaps(algod_client: "AlgodClient", tmp_path_factory: py

assert (sourcemap_file_path).exists()
assert (app_output_path / "approval.teal").exists()
assert (app_output_path / "approval.teal.map").exists()
assert (app_output_path / "approval.tok.map").exists()
assert (app_output_path / "clear.teal").exists()
assert (app_output_path / "clear.teal.map").exists()
assert (app_output_path / "clear.tok.map").exists()

result = AVMDebuggerSourceMap.from_dict(json.loads(sourcemap_file_path.read_text()))
for item in result.txn_group_sources:
Expand Down

0 comments on commit 9ed997e

Please sign in to comment.