add enabledTracing accessor to BaseVMState
This commit is contained in:
parent
f732cba0c3
commit
954081578f
|
@ -389,6 +389,9 @@ proc enableTracing*(vmState: BaseVMState) =
|
|||
proc disableTracing*(vmState: BaseVMState) =
|
||||
vmState.tracer.flags.excl EnableTracing
|
||||
|
||||
func tracingEnabled*(vmState: BaseVMState): bool =
|
||||
EnableTracing in vmState.tracer.flags
|
||||
|
||||
iterator tracedAccounts*(vmState: BaseVMState): EthAddress =
|
||||
for acc in vmState.tracer.accounts:
|
||||
yield acc
|
||||
|
|
|
@ -22,6 +22,7 @@ export
|
|||
vms.difficulty,
|
||||
vms.disableTracing,
|
||||
vms.enableTracing,
|
||||
vms.tracingEnabled,
|
||||
vms.baseFee,
|
||||
vms.generateWitness,
|
||||
vms.`generateWitness=`,
|
||||
|
|
Loading…
Reference in New Issue