-
For benchmarking of NEAR’s ZK WASM I’m trying to make const config = {
debug: true,
debugInfo: {
inputName: path.basename(pathTest),
},
tracer: true,
stepsN: 8388608,
assertOutputs: false,
verboseOptions: {
fulltracer: {
enable: true,
enableOpcodes: true,
printOpcodes: true,
bytecode: true,
outputs: true,
saveOutputs: true
}
}
}; Tracer objects are constructed but
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
hi !! Brief explanation of modules:
Enable fullTracer
Suggestion
hope it helps xD |
Beta Was this translation helpful? Give feedback.
hi !!
Brief explanation of modules:
fullTracer
: Class to get execution traces of the batch execution. Heavily focus to get EVM traces likegeth
does for Ethereum. It is like an EVM trace extended wverboseOptionsith some zkEVM parametersverboseOptions
: property of theconfig
. Useful to print data on the terminal (or save data) that is collected by thefullTracer
. Very useful to debug without doing breakpoints.Enable fullTracer
main_executor.js
should be run with the-T
flag: https://github.com/0xPolygonHermez/zkevm-proverjs/blob/feature/64bits/src/main_executor.js#L35fullTracer
has not been ported to 64 bits registersfullTracer
works by triggering its events (eventLog
) …