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

1664 Implement tracing #1734

Merged
merged 217 commits into from
Dec 11, 2023
Merged

1664 Implement tracing #1734

merged 217 commits into from
Dec 11, 2023

Conversation

kladkogex
Copy link
Collaborator

@kladkogex kladkogex commented Nov 28, 2023

Documentation

The documentation for this feature is provided here:

https://github.com/skalenetwork/skaled/blob/1664_eth_trace_current/docs/tracing.md

Tests

An automated test that tests tracing has been added to

test/historicstate/hardhat/scripts/trace.ts

The test deploys a sample smart contract and tests all tracers.

The test runs as part of Github Actions test.yml

@@ -60,7 +60,7 @@ If you have already cloned the repo and forgot to pass `--recurse-submodules`, e
sudo apt update
sudo apt install autoconf build-essential cmake libprocps-dev libtool texinfo wget yasm flex bison btrfs-progs python3 python3-pip gawk git vim doxygen
sudo apt install make build-essential cmake pkg-config libgnutls28-dev libssl-dev unzip zlib1g-dev libgcrypt20-dev docker.io gcc-9 g++-9 gperf clang-format-11 gnutls-dev
sudo apt install nettle-dev libhiredis-dev redis-server google-perftools libgoogle-perftools-dev lcov
sudo apt install nettle-dev libhiredis-dev redis-server google-perftools libgoogle-perftools-dev lcov sudo apt-get install libv8-dev
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, fix the typo

Comment on lines +138 to +139
auto b = ( uint32_t ) _vm->getStackElement( 0 );
auto s = ( uint32_t ) _vm->getStackElement( 1 );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use more descriptive names for b & s

@kladkogex kladkogex merged commit 8717699 into v3.17.2 Dec 11, 2023
6 of 10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2023
@DmytroNazarenko DmytroNazarenko deleted the 1664_eth_trace_current branch April 9, 2024 12:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement debug_Trace methods
3 participants