In the case of "unknown contracts" (contracts for which we do not hold metadata at the moment of trace collection), we can get ahold of these metadata files in the future and use it to retroactively "decode" the trace's step.
As test setup: Executing up to n-th step and then running changed logic
Over the course of transaction execution, it will pass through various elements of the stack:
Mapping::get
)call_runtime
(other pallet).We could log each of these steps of execution (let's call it execution trace) and export to a file for later interpretation/manipulation.
These files can serve multiple purposes: