ref-fvm
ref-fvm copied to clipboard
Gas Tracing
Currently, the FVM supports
- Execution tracing. Specifically, tracing of a message's call graph.
- Gas logging. I.e., it can (if trace logging is enabled) log all gas charges.
However, unlike the Lotus VM, the execution trace does not include individual gas charges. This makes debugging gas charges significantly more annoying.
Proposal: Extend the execution trace to include:
- Gas numbers (gas consumed up to that point should be sufficient).
- Syscalls.
We could include all gas charges, but that's probably overkill.
can lotus have cold/warm storage? It helps a lot with parallelization.
@Stebalien Do we need this for M2.1?
Fixed in #709.