Skip to content
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

prototype VMTRACE interactive view script #967

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

prototype VMTRACE interactive view script #967

wants to merge 1 commit into from

Conversation

winsvega
Copy link
Collaborator

@winsvega winsvega commented Nov 22, 2024

πŸ—’οΈ Description

a script that can read vmtrace and show it in interactive manner
allows to easily read vm logs and skip to the point

requires vscode extension Live Server
then in vscode navigate to traces folder to edit html
the script is accessable http://127.0.0.1:5500/traces/index.html

we can save index.html file with this script into evm-dump folder next to each test run results.
then if we open it in vscode with live server on, in browser we can use it to view the trace. visualizing the calls and show relevant info in a better to read way
Screenshot from 2024-11-22 12-26-53

πŸ”— Related Issues

βœ… Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
  • Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
  • Tests: Included the type and version of evm t8n tool used to locally execute test cases: e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
  • Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

@winsvega winsvega added good first issue Good for newcomers type:feat type: Feature labels Nov 22, 2024
@winsvega winsvega marked this pull request as draft November 22, 2024 11:25
@winsvega winsvega self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers type:feat type: Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant