Stack traces
Stack traces in blocktorch are provided as call trace as well as interaction flow visualization. They are accessible in the log details, the account abstraction explorer and the step debugger.
The stack trace displays the sequence of function calls in a transaction as a tree structure.
Each element represents a function call or event trigger and includes information such as call stack depth, call type, and call parameters.
In the Step debugger you can also access the smart contract source code along with the stack trace to dig deeper into the data.
Call trace
The call trace includes:
The
Calltype
which can beCALL
,STATICCALL
orDELEGATECALL
The
Gas used
shown as whole number in [] and on the right side visualized in blue bars to do gas profiling of each function stepThe
to address
of the contract the call was made toThe decoded function signature with the argument types it requires
The
+
and-
signs enable you to elapse and expand the tree
Interaction flow
The call trace includes:
The
Calltype
which can beCALL
,STATICCALL
,DELEGATECALL
orOTHER
, the call types are also visually color coded as the color of the branchThe
Gas used
visualized as the thickness/weight of the branchThe
to address
of the contract the call was made toThe decoded function signature with the argument types it requires
The round node at each branch can be clicked to elapse and expand the branch
Last updated