-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1862 from skalenetwork/v3.17.2
Merge debug-trace branch (v3.17.2) into develop
- Loading branch information
Showing
113 changed files
with
89,785 additions
and
1,363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.18.0 | ||
3.18.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Tracing API | ||
|
||
## API calls | ||
|
||
SKALE tracing API implements the following Geth tracing API calls | ||
|
||
```angular2html | ||
debug_traceTransaction | ||
debug_traceCall | ||
debug_traceBlockByNumber | ||
debug_traceBlockByHash | ||
``` | ||
|
||
The calls a fully compatible with Geth API. If there is | ||
an incompatibility, its a bug. | ||
|
||
Geth API is documented here | ||
|
||
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug | ||
|
||
Also see here for live examples | ||
|
||
https://www.quicknode.com/docs/ethereum/debug_traceTransaction | ||
https://www.quicknode.com/docs/ethereum/debug_traceBlockByNumber | ||
https://www.quicknode.com/docs/ethereum/debug_traceBlockByHash | ||
https://www.quicknode.com/docs/ethereum/debug_traceCall | ||
|
||
|
||
## Tracer config and types implemented | ||
|
||
All tracer config options documented here are implemented | ||
|
||
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug#traceconfig | ||
|
||
The following Geth Tracer types are implemented: | ||
|
||
* "4byteTracer" | ||
* "callTracer" | ||
* "prestateTracer" | ||
* "noopTracer" | ||
|
||
In addition the following Parity tracer is implemented | ||
|
||
* replayTracer | ||
|
||
See here for documentation of replayTracer | ||
|
||
https://openethereum.github.io/JSONRPC-trace-module | ||
https://www.quicknode.com/docs/ethereum/trace_replayTransaction | ||
https://docs.alchemy.com/reference/trace-replaytransaction | ||
|
||
Note, that we do not implement Parity "trace_replayTransaction" | ||
API call. Instead, "replayTracer" parameter needs to be | ||
passed to Geth API calls. | ||
|
||
|
||
## All Tracer | ||
|
||
* allTracer has beeen added to help QA, it prints results of all supported traces at once | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.