This PR adds the output of TransactionTrace to JSON file for all the transaction replayed.
Closes #13
This is the list of changes:
A new optional command line argument --trace-out to indicate the location of the output JSON file
The Args struct has been moved to a dedicated file for better code readability
pathfinder dependency has been updated which removes the debug println! statements added in a blockifier fork
The type of the function execute_block in the trait Storage has been modified to return transaction traces which are manipulated in the runner crate to extract VisitedPcs object. This is to reduce the performance hit of outputting the TransactionTrace to file.
This PR adds the output of
TransactionTrace
to JSON file for all the transaction replayed.Closes #13
This is the list of changes:
--trace-out
to indicate the location of the output JSON fileArgs
struct has been moved to a dedicated file for better code readabilitypathfinder
dependency has been updated which removes the debugprintln!
statements added in a blockifier forkexecute_block
in the traitStorage
has been modified to return transaction traces which are manipulated in the runner crate to extractVisitedPcs
object. This is to reduce the performance hit of outputting theTransactionTrace
to file.